Skip to content

Capture operation-scoped Bazel profiles - #3339

Draft
karim-alweheshy wants to merge 1 commit into
build-proxy-live-action-lifecyclefrom
build-proxy-operation-profile
Draft

Capture operation-scoped Bazel profiles#3339
karim-alweheshy wants to merge 1 commit into
build-proxy-live-action-lifecyclefrom
build-proxy-operation-profile

Conversation

@karim-alweheshy

Copy link
Copy Markdown
Contributor

Summary\n\n- force Bazel JSON trace output into the proxy operation directory\n- prevent bazelrc settings from redirecting the private operation profile\n- filter diagnostic-only profile and all-action options from publishable receipts and aquery replays\n- secure the finished profile as a regular mode-0600 file on success, failure, or interruption\n\n## Stack\n\n- Base: the live action lifecycle PR\n- This PR is diagnostic plumbing only; profile summarization and presentation remain separate slices\n\n## Validation\n\n- uncached focused launcher test with ignore-all-rc-files\n- bash syntax, ShellCheck, and Buildifier\n- negative coverage for unset profile paths and receipt filtering\n\n## Testing\n\nRun a proxy-enabled operation, verify bazel-profile.json.gz is private to that operation, then bind its invocation UUID to the matching BEP before analysis.

Signed-off-by: Karim Alweheshy <karim.alweheshy@reddit.com>
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