Skip to content

fix: prevent snapshot logic if command phase isn't included#3825

Merged
DrJosh9000 merged 1 commit intomainfrom
a-1073-require-command-phase
Apr 15, 2026
Merged

fix: prevent snapshot logic if command phase isn't included#3825
DrJosh9000 merged 1 commit intomainfrom
a-1073-require-command-phase

Conversation

@DrJosh9000
Copy link
Copy Markdown
Contributor

Description

Follow-up to #3789: require the command phase in the current executor to be included for the snapshot logic to trigger.

Context

Codex actually made a good point in #3789.

https://linear.app/buildkite/issue/A-1073

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go tool gofumpt -extra -w .)

Disclosures / Credits

I did the typing manually.

@DrJosh9000 DrJosh9000 requested review from a team as code owners April 14, 2026 07:32
Copy link
Copy Markdown
Contributor

@zhming0 zhming0 left a comment

Choose a reason for hiding this comment

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

LGTM with a comment on doc

Comment thread internal/job/checkout.go
@DrJosh9000 DrJosh9000 force-pushed the a-1073-require-command-phase branch from 114c0f5 to 7a91f67 Compare April 15, 2026 01:26
@DrJosh9000 DrJosh9000 merged commit d7f1ca9 into main Apr 15, 2026
3 checks passed
@DrJosh9000 DrJosh9000 deleted the a-1073-require-command-phase branch April 15, 2026 02:12
@zhming0 zhming0 mentioned this pull request Apr 17, 2026
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