Skip to content

fix: worker should mark task as failed if anything fails after checkout - #2303

Open
atravitz wants to merge 4 commits into
maint/warehouse_dir_handlingfrom
fix/worker_try_except
Open

atravitz wants to merge 4 commits into
maint/warehouse_dir_handlingfrom
fix/worker_try_except

Conversation

@atravitz

@atravitz atravitz commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

should improve #2252

not sure how to handle/test a slurm SIGKILL, but this should catch more cases than before.

LLM / AI generated code disclosure

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution:

  • No
  • Yes: [If yes, please provide details here]

Checklist

  • Read the AI Policy and filled in the AI-generated code disclosure.
  • Adhered to the contribution guidelines
  • All new code is appropriately documented (user-facing code must have complete docstrings).
  • Ran pre-commit: you can run pre-commit locally or comment on this PR with pre-commit.ci autofix.
  • Added a news entry, or the changes are not user-facing.

Manual Tests: these are slow so don't need to be run every commit, only before merging and when relevant changes are made (generally at reviewer-discretion).

Developers certificate of origin

@atravitz atravitz self-assigned this Oct 23, 2026
@atravitz atravitz changed the title fix: worker should mark task as failed if killed fix: worker should mark task as failed if job is killed Oct 23, 2026
@atravitz atravitz added this to the 1.13.1 milestone Oct 23, 2026
@atravitz atravitz added the bug Something isn't working label Oct 23, 2026
@atravitz
atravitz force-pushed the fix/worker_try_except branch from b34fbc8 to 097c313 Compare November 16, 2026 19:23
@codecov

codecov Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (maint/warehouse_dir_handling@1a7347e). Learn more about missing BASE report.

Additional details and impacted files
@@                       Coverage Diff                       @@
##             maint/warehouse_dir_handling    #2303   +/-   ##
===============================================================
  Coverage                                ?   90.47%           
===============================================================
  Files                                   ?      227           
  Lines                                   ?    22511           
  Branches                                ?        0           
===============================================================
  Hits                                    ?    20367           
  Misses                                  ?     2144           
  Partials                                ?        0           
Flag Coverage Δ
fast-tests 90.47% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@atravitz
atravitz force-pushed the fix/worker_try_except branch 2 times, most recently from ec836d3 to d16b2e6 Compare November 17, 2026 19:56
@atravitz atravitz changed the title fix: worker should mark task as failed if job is killed fix: worker should mark task as failed if anything fails after checkout Nov 19, 2026
@atravitz
atravitz force-pushed the fix/worker_try_except branch from d16b2e6 to 5ce399e Compare November 20, 2026 00:00
@atravitz
atravitz changed the base branch from main to maint/warehouse_dir_handling November 20, 2026 00:01
@atravitz
atravitz force-pushed the fix/worker_try_except branch 2 times, most recently from 29744b7 to ed7cda8 Compare November 20, 2026 18:08
@atravitz
atravitz marked this pull request as ready for review November 20, 2026 18:09
@atravitz
atravitz requested a review from IAlibay November 20, 2026 18:09
@atravitz
atravitz force-pushed the maint/warehouse_dir_handling branch from 57af633 to 1a7347e Compare November 23, 2026 17:16
@atravitz
atravitz force-pushed the fix/worker_try_except branch from ed7cda8 to c3abdaf Compare November 23, 2026 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working execution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant