chore(ci): give the static and integrity job a 30-minute budget - #809
Merged
Merged
Conversation
The job ran 13 to 20 minutes on recent pull requests, and a branch whose Go build cache misses more packages runs past 20 minutes, which cancels the job and fails the required checks. Co-Authored-By: jason.han <hanhuijun@gmail.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
HuiJun
marked this pull request as ready for review
October 2, 2026 03:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
static-and-integrityin.github/workflows/pr.yml:timeout-minutes: 20→30.On recent pull requests this job ran for 13 to 20 minutes (#483 took 19m20s). On #805 it was cancelled at 20 minutes in three attempts out of three. All of its tests that ran had passed, and the cancellation failed the required
Build and testcheck. Its static analysis step (staticcheck + gosec) took 756s, andgo vettook 176s. On #806 the same two steps took 446s and 106s. A branch that is behinddevelopprobably misses more of the restored Go build cache, so it runs longer.How it was verified
The workflow still parses as YAML. The job's own run on this PR covers the change.
Checklist
make testandmake lintpass locally (CI-only change)make docs-countsrun if a gate count moved (n/a)F4,K5) in the body, docs, or changelogLink to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/3495897e32a547c98096e422559dba5a
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/3495897e32a547c98096e422559dba5a?variant=devin
Requested by: @HuiJun