feat: Add 'job run-rm' command#53
Conversation
@microsoft-github-policy-service agree |
|
Hi @CSharplie, thank you for your interest in contributing! This command will enhance the capabilities of the Fabric CLI. Thank you for your valuable contribution to the Fabric CLI community. |
|
@CSharplie Please add tests to cover the new scenario. |
|
Hi @aviatco, |
|
Hi @aviatco, The new push includes
About the tests:
All tests were run in live mode first, and then with cassettes. |
Consider move the PR to draft and publish it once it will be ready to review |
|
Hi @aviatco |
Co-authored-by: Alon Yeshurun <98805507+ayeshurun@users.noreply.github.com>
Co-authored-by: Alon Yeshurun <98805507+ayeshurun@users.noreply.github.com>
|
Hi @ayeshurun / @aviatco |
|
Hi @CSharplie , please add changie entry, as described here - https://github.com/microsoft/fabric-cli/blob/main/CONTRIBUTING.md#documenting-changes-with-changie |
|
@ayeshurun |
Co-authored-by: Alon Yeshurun <98805507+ayeshurun@users.noreply.github.com>
...un_schedule_rm_success[SparkJobDefinition-data/sample_items/example.SparkJobDefinition].yaml
Show resolved
Hide resolved
...test_commands/recordings/test_commands/test_jobs/test_run_schedule_rm_success[Notebook].yaml
Outdated
Show resolved
Hide resolved
|
Hi @CSharplie, It appears that the tests are failing. Please resolve the issues so that we may proceed with approval. |
Hi @ayeshurun, Thank you for the clarification. I understand why I'm seeing this discrepancy between my local environment (Codespace) and the GitHub Actions execution. The tests are failing because of a side effect introduced by another test. Specifically, the test named Since my subsequent tests rely on the original, unmodified content, the cassette is now out of sync with the actual state of the sample notebook and data pipeline. This confirms that the tests are not truly independent. Proposed SolutionsI see two primary ways to resolve this:
Could you confirm which approach is preferred for this repository? I'm happy to proceed with Option 1 if you agree it's the correct architectural fix. |
Hi @CSharplie, Thanks for the thorough investigation and clear explanation. I agree with your assessment - refactoring |
|
Hi @ayeshurun The tests Why this Change?My initial intention was to use the Therefore, to maintain consistency, I used the same method for updating both the notebook and the datapipeline. Benefits
The entire |
📥 Pull Request
✨ Description of new changes
Description
This pull request introduces the new fabric
job run-rmcommand. This command enables users to remove a specific scheduled job related to an item.This feature is implemented in two parts:
job run-rm).Changes Included
job run-rmcommand.job run-rmcommand.Usage