Skip to content

fix: use job type path for on-demand runs - #290

Open
Alon Yeshurun (ayeshurun) wants to merge 1 commit into
microsoft:mainfrom
ayeshurun:dev/alonyeshurun/work-item-2305937
Open

Alon Yeshurun (ayeshurun) wants to merge 1 commit into
microsoft:mainfrom
ayeshurun:dev/alonyeshurun/work-item-2305937

Conversation

@ayeshurun

Copy link
Copy Markdown
Collaborator

📥 Pull Request

✨ Description of new changes

Update on-demand job requests to use the current /jobs/{jobType}/instances endpoint format instead of the legacy jobType query parameter.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 23, 2026 16:11
@ayeshurun
Alon Yeshurun (ayeshurun) requested a review from a team as a code owner September 23, 2026 16:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

All reviewed changes align with the endpoint update and no unresolved issues remain.

Review effort: Lite
Findings: None

What changed in this PR

Updates on-demand job requests to use /jobs/{jobType}/instances instead of the legacy query parameter.

Changes:

  • Updated job endpoint construction.
  • Refreshed affected job execution recordings.
  • Added a changie release note.
File Description
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_start_job_notebook_and_cancel.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_run_table_maintenance.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_run_spark_job.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_run_pipeline.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_run_param_job.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_run_job_notebook.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_run_job_notebook_timeout.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_run_job_notebook_timeout_zero_sec.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_start_text_output_contains_instance_id_success.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_start_json_output_contains_instance_id_success.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_run_timeout_cancelled_text_output_contains_instance_id_success.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_run_timeout_cancelled_json_output_contains_instance_id_success.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_run_text_output_contains_instance_id_success.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_run_json_output_contains_instance_id_success.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_run_failure_with_timeout_exits_with_code_1_success.yaml Updated request recording.
tests/​test_commands/​recordings/​test_commands/​test_jobs/​test_job_run_exits_with_code_1_success.yaml Updated request recording.
src/​fabric_cli/​client/​fab_api_jobs.py Uses the job type path endpoint.
.changes/​unreleased/​fixed-20260923-160500.yaml Documents the fix.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants