Skip to content

Comments

dev-inf: use targeted tests and increase timeout in issue-autosolve#164307

Open
ajstorm wants to merge 1 commit intocockroachdb:masterfrom
ajstorm:ajstorm/fix-autosolve-workflows
Open

dev-inf: use targeted tests and increase timeout in issue-autosolve#164307
ajstorm wants to merge 1 commit intocockroachdb:masterfrom
ajstorm:ajstorm/fix-autosolve-workflows

Conversation

@ajstorm
Copy link
Collaborator

@ajstorm ajstorm commented Feb 24, 2026

Summary

  • Targeted tests: Update the Stage 2 prompt to instruct Claude to run only
    tests for the specific packages/files it changed (e.g. ./dev test <pkg> -f=<Test>, ./dev testlogic --files=<file>), rather than broad suites like
    ./dev test pkg/sql or ./dev testlogic without --files that can run for
    hours.
  • Timeout bump: Increase the job timeout from 120 to 180 minutes as a safety
    net, since even targeted tests require initial Bazel compilation on a fresh
    runner.

Release note: None

Epic: None

🤖 Generated with Claude Code

The autosolver's single Claude attempt was consuming the entire 120-minute
job timeout running broad test suites (e.g. ./dev test pkg/sql or
./dev testlogic without --files). Update the prompt to explicitly instruct
Claude to run only targeted tests for the specific packages and files it
changed, and bump the job timeout to 180 minutes as a safety net for
initial Bazel compilation overhead.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@trunk-io
Copy link
Contributor

trunk-io bot commented Feb 24, 2026

✨ Submitted to Merge by @ajstorm. It will be added to the merge queue once all branch protection rules pass and there are no merge conflicts with the target branch. See more details here.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajstorm ajstorm marked this pull request as ready for review February 24, 2026 22:37
@ajstorm ajstorm requested a review from a team as a code owner February 24, 2026 22:37
@ajstorm ajstorm requested a review from rickystewart February 24, 2026 22:37
@ajstorm
Copy link
Collaborator Author

ajstorm commented Feb 25, 2026

/trunk merge

TFTR!

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.

3 participants