Repository navigation
The worker copy read gate's broad handlers are listed and the statement shapes regenerated - #2193
Merged
Merged
Conversation
…atement shapes The read gate's two new broad handlers admit no copy when a check cannot be read, so they are fail-closed sites with nothing to note. The read gate's source query now selects owner_subject, so its recorded statement shape changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: zlareb1 <lareb.zafar@clickhouse.com>
9 of 10 tasks
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.
Related: #2165
Changelog category (leave one):
Changelog entry (one or two sentences a user of Loom can read without the diff; the release pull request collects these into the release notes):
None: CI only.
Why
Main's CI fails two gates after the worker stored copies change:
tests/unit/test_degraded_unnoted.py::test_every_broad_handler_notes_its_fallback_or_says_why_it_need_notnamesserver/knowledge/app/source_access.py::_reader_own_subject::1and::_worker_copy_eligible::1, which are broad handlers that note nothing and are not intests/unit/degraded_unnoted.txt.tests/analyzer/test_corpus.py::test_shapes_file_matches_buildersreports one new and one gone statement shape. The read gate'sknowledge_sourcesquery now also selectsowner_subject.Scope and risk
fail_closed, beside the existing_eligible_sourcesentries. When the reader's standing cannot be read, the reader owns no worker source. When the worker authority (registration, approval, owner's worker account) cannot be verified, no copy is admitted. Neither serves a smaller answer, so there is nothing to note.tests/analyzer/shapes.txtis regenerated withpython -m tests.analyzer.corpus --write. The diff swaps that one query's shape for its new one.Compatibility, rollout and rollback
Tests
tests/analyzer/test_corpus.py -k shapes_filepasses locally.tests/unit/test_degraded_unnoted.pyis over the local focused gate's memory limit, so it runs in CI.AI assistance in the code (leave one; writing this description with AI is fine):
AI-generated (an agent wrote most of the diff): Claude Code found both failures in main's CI logs and wrote the fix.
I can explain every line of this diff and how it interacts with the rest of Loom.
Checklist
make test-unitand applicable integration results are reported by CI; a full local run is not required before pushing.tests/analyzer/shapes.txt.🤖 Generated with Claude Code