Skip to content

feat(speculate): emit metric when bypass commits - #664

Merged
behinddwalls merged 2 commits into
mainfrom
blrd
Sep 2, 2026
Merged

feat(speculate): emit metric when bypass commits#664
behinddwalls merged 2 commits into
mainfrom
blrd

Conversation

@behinddwalls

@behinddwalls behinddwalls commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

Summary

What?

Adds a dedicated bypass counter to the speculate controller: speculate_controller.process.bypass increments exactly once when complete passed-path coverage lets a batch commit its transition to Merging ahead of unresolved dependencies. Strict merges, CAS losses, and wait decisions emit nothing.

Test Plan

  • ./tool/bazel test //submitqueue/orchestrator/controller/speculate:go_default_test — bypass test asserts counter value 1; strict-merge test asserts counter absent.

behinddwalls and others added 2 commits September 1, 2026 10:42
## Summary

### What?

Adds a dedicated bypass counter to the speculate controller: speculate_controller.process.bypass increments exactly once when complete passed-path coverage lets a batch commit its transition to Merging ahead of unresolved dependencies. Strict merges, CAS losses, and wait decisions emit nothing.

## Test Plan

- ./tool/bazel test //submitqueue/orchestrator/controller/speculate:go_default_test — bypass test asserts counter value 1; strict-merge test asserts counter absent.
@behinddwalls
behinddwalls marked this pull request as ready for review September 2, 2026 18:15
@behinddwalls
behinddwalls requested review from a team and sbalabanov as code owners September 2, 2026 18:15
@behinddwalls
behinddwalls added this pull request to the merge queue Sep 2, 2026
Merged via the queue into main with commit 45f1406 Sep 2, 2026
27 checks passed
@behinddwalls
behinddwalls deleted the blrd branch September 2, 2026 18:37
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