Skip to content

Job runs drop unit tests covered by acc - #6370

Open
radakam wants to merge 2 commits into
mainfrom
job-runs-drop-unit-tests-covered-by-acc
Open

Job runs drop unit tests covered by acc#6370
radakam wants to merge 2 commits into
mainfrom
job-runs-drop-unit-tests-covered-by-acc

Conversation

@radakam

@radakam radakam commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Changes

Drop job_run unit tests that duplicate existing acceptance coverage, and add destroy_unfinished_run so cancel-before-delete is asserted through the same path a user destroy takes.

Kept the wait/GetRun stubs that acceptance cannot reach without faking the Jobs API.

Why

Split from review on #6309: if a unit test is already covered by acc, keep the acc test.

Tests

  • New acc: acceptance/bundle/resources/job_runs/destroy_unfinished_run (faulted wait, then destroy cancel + delete order)

failed_run, on_bundle_deploy, wait, and interrupted_run already assert the
user-visible wait and trigger behavior. Add destroy_unfinished_run so
cancel-before-delete is covered the same way.
@radakam
radakam marked this pull request as ready for review August 24, 2026 16:43
@github-actions

Copy link
Copy Markdown
Contributor

Approval status: pending

/acceptance/bundle/ - needs approval

4 files changed
Eligible: @andrewnester, @anton-107, @denik, @janniklasrose, @lennartkats-db, @pietern, @shreyas-goenka

/bundle/ - needs approval

Files: bundle/direct/dresources/job_run_test.go
Eligible: @andrewnester, @anton-107, @denik, @janniklasrose, @lennartkats-db, @pietern, @shreyas-goenka

Any maintainer (@andrewnester, @anton-107, @denik, @pietern, @shreyas-goenka, @simonfaltum, @renaudhartert-db, @janniklasrose, @lennartkats-db, @rugpanov, @rclarey) can approve all areas.
See OWNERS for ownership rules.

@radakam
radakam requested a review from denik August 24, 2026 16:47
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 3285057

Run: 32752509304

Env 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
🔄​ aws linux 1 1 4 273 1168 9:58
💚​ aws windows 1 4 276 1166 6:40
💚​ azure linux 1 4 273 1168 8:49
💚​ azure windows 1 4 275 1166 7:45
💚​ gcp linux 1 4 274 1168 7:11
💚​ gcp windows 1 4 276 1166 7:30
6 interesting tests: 4 SKIP, 1 RECOVERED, 1 flaky
Test Name aws linux aws windows azure linux azure windows gcp linux gcp windows
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🔄​ TestSyncFullFileSync 🔄​f ✅​p ✅​p ✅​p ✅​p ✅​p
Top 8 slowest tests (at least 2 minutes):
duration env testname
3:59 azure windows TestFilerWorkspaceFilesExtensionsReadDir
3:13 aws windows TestAccept
3:08 gcp windows TestAccept
3:05 azure windows TestAccept
2:54 azure linux TestFilerWorkspaceFilesExtensionsReadDir
2:32 azure windows TestFilerReadWrite/workspace_files_extensions
2:31 azure linux TestFilerRecursiveDelete/workspace_files
2:07 azure windows TestSyncFullFileSync

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