Repository navigation
feat: say the length and the rule when a data owner requests a log - #9627
Merged
Merged
Conversation
request_stderr / request_stdout print the length asked for (n_chars) and say the enclave shares the log once every data owner makes the same request: the same readers and the same n_chars. The docstrings say so too. Messages, display and docstrings only; no behaviour change. Asana: https://app.asana.com/0/0/1220519960542215/f Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
koenvanderveen
marked this pull request as ready for review
November 20, 2026 14:00
koenvanderveen
approved these changes
Nov 20, 2026
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.
Summary
request_stderrorrequest_stdouton an enclave job, we previously printedRequested stderr.txt of job 'j' for [...], without the length. Now we print how much of the log was asked for (n_chars), and that the enclave shares the log once every DO made the same request, with the same readers and the samen_chars. The docstrings say the same.Guidelines
High level
Mid level
request_lognow builds the message itself; move the formatting into a helper, sorequest_logstays high level.Low level
Security
No change.
Testing
test_log_request_says_length_and_rulechecks the message with and withoutn_chars.Asana task
Original description
request_stderr/request_stdoutnow confirm the length asked for, and say when the enclave shares the log:The docstrings say the same. Messages and docstrings only; no behaviour change.
This is the message half of the ticket. Showing one data owner another's request would change what the enclave shares, so that half is left as a design question for eng.
One of five small PRs from the 13 Nov enclave test; each merges cleanly with the others and with #9576.
Asana: https://app.asana.com/0/0/1220519960542215/f
🤖 Generated with Claude Code
No rush: after the release.