Skip to content

testserver: remove orphaned job-run cancel/delete handlers - #6680

Closed
denik wants to merge 1 commit into
mainfrom
denik/cleanup-jobrun-testserver
Closed

denik wants to merge 1 commit into
mainfrom
denik/cleanup-jobrun-testserver

Conversation

@denik

@denik denik commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Changes

Remove the testserver runs/cancel and runs/delete handlers (and the unit tests that only covered them). They were added in #6091 for the job_run resource's DoDelete, which #6672 removed — so nothing reaches them anymore: no acceptance test hits these routes, and the air cancel test uses its own [[Server]] stub.

Tests

Test-infra only. libs/testserver unit tests and the job_runs / air cancel acceptance suites pass.

This pull request and its description were written by Isaac.

The job_run resource no longer deletes runs (#6672), so the run
cancel/delete handlers added for it in #6091 are unused: no acceptance
test reaches them, and the air cancel test uses its own stub. Remove the
handlers and the unit tests that only covered them.

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik enabled auto-merge September 15, 2026 08:30
@github-actions

Copy link
Copy Markdown
Contributor

Waiting for approval

Based on git history, these people are best suited to review:

  • @radakam -- recent work in libs/testserver/

Eligible reviewers: @andrewnester, @anton-107, @janniklasrose, @lennartkats-db, @pietern, @rclarey, @renaudhartert-db, @rugpanov, @shreyas-goenka, @simonfaltum

Suggestions based on git history. See OWNERS for ownership rules.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 43be7a7

Run: 34947433650

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux 1 275 15 4:01
💚​ aws windows 1 277 13 4:52
💚​ azure linux 1 274 15 4:08
💚​ azure windows 1 276 13 5:52
💚​ gcp linux 1 275 15 4:08
💚​ gcp windows 1 277 13 5:12
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 3 slowest tests (at least 2 minutes):
duration env testname
5:49 azure windows TestAccept
5:10 gcp windows TestAccept
4:50 aws windows TestAccept

@denik denik closed this Sep 15, 2026
auto-merge was automatically disabled September 15, 2026 09:42

Pull request was closed

@denik
denik deleted the denik/cleanup-jobrun-testserver branch September 15, 2026 14:58
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