Skip to content

Add RRCC local closure metrics - #15

Merged
jerenkrantz merged 3 commits into
mainfrom
justin.erenkrantz/rrcc-local-closure-metrics
Aug 23, 2026
Merged

Add RRCC local closure metrics#15
jerenkrantz merged 3 commits into
mainfrom
justin.erenkrantz/rrcc-local-closure-metrics

Conversation

@jerenkrantz

@jerenkrantz jerenkrantz commented Aug 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • detect Bazel synthetic remote repository-contents cache entries
  • validate their marker, Tree, and nested file closure against local cache state
  • return ActionCache NotFound for an incomplete local closure so Bazel re-evaluates the repository rather than failing on a lazy file read
  • expose fixed-cardinality RRCC closure metrics and logs

This correctness-first mode intentionally treats remote-only RRCC content as a miss. Remote S3 presence checks are out of scope for this PR.

Validation

  • go build ./...
  • go vet ./...
  • go test -race ./...
  • golangci-lint run --max-issues-per-linter=0 --max-same-issues=0 ./...

jerenkrantz and others added 3 commits August 23, 2026 20:51
Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
Co-authored-by: c1-squire-dev[bot] <c1-squire-dev[bot]@users.noreply.github.com>
@jerenkrantz
jerenkrantz merged commit df080e9 into main Aug 23, 2026
1 check passed
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.

1 participant