Repository navigation
Conversation
yushan8
approved these changes
Feb 4, 2026
sbalabanov
pushed a commit
that referenced
this pull request
Jul 31, 2026
… lifecycle metrics (audit #11) The metrics doc described outcome values (success/failure/cancelled) that did not match the code, which emits success/cancelled/user/infra/infra_retryable via ErrorCode.String(). "failure" was never emitted. The doc also showed a fictitious cache_read sub-op example and omitted the failures{error_code} counter and three cache-lookup counters. - Rewrite the outcome-vocabulary section with the real values and their derivation from ErrorCode.String() - Document the controller failures{error_code} counter - Document the three cache-lookup counters (treehash, graph, compared_targets) with hit/miss/silent-on-infra semantics - Replace the fictitious cache_read example with the real cache-lookup pattern - Fix stale CamelCase op-name comment in names.go (real ops are snake_case) - Add Begin/Complete lifecycle metrics to nativeGraphRunner.Compute with repo-tagged emitter - Add RecordCacheLookup graph_cache_lookup to the controller graph download path with correct hit/miss/silent-infra semantics - Add tests for graphrunner lifecycle metrics (success + error) and controller graph_cache_lookup counters (hit + miss) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
sbalabanov
pushed a commit
that referenced
this pull request
Aug 3, 2026
… lifecycle metrics (audit #11) The metrics doc described outcome values (success/failure/cancelled) that did not match the code, which emits success/cancelled/user/infra/infra_retryable via ErrorCode.String(). "failure" was never emitted. The doc also showed a fictitious cache_read sub-op example and omitted the failures{error_code} counter and three cache-lookup counters. - Rewrite the outcome-vocabulary section with the real values and their derivation from ErrorCode.String() - Document the controller failures{error_code} counter - Document the three cache-lookup counters (treehash, graph, compared_targets) with hit/miss/silent-on-infra semantics - Replace the fictitious cache_read example with the real cache-lookup pattern - Fix stale CamelCase op-name comment in names.go (real ops are snake_case) - Add Begin/Complete lifecycle metrics to nativeGraphRunner.Compute with repo-tagged emitter - Add RecordCacheLookup graph_cache_lookup to the controller graph download path with correct hit/miss/silent-infra semantics - Add tests for graphrunner lifecycle metrics (success + error) and controller graph_cache_lookup counters (hit + miss) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
exclusion regexes are expensive, pre compile them instead. This would significantly speed up hashing time for large graph