Repository navigation
test_degraded_unnoted lists the enrollment challenge spend, so main's unit job passes - #2132
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Lareb Zafar <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: Lareb Zafar <lareb.zafar@clickhouse.com>
This was referenced Dec 4, 2026
Merged
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: #2047
Related: #2126
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):
...
Why
tests/unit/test_degraded_unnoted.pyfails onmain: #2126 added a broad handler inserver/knowledge/app/mcp_worker_enrollment_flow.py::_spendafter #2047's scan landed, and the scan's allowlist has no entry for it. Every pull request's unit job fails on it.The handler names nothing in
degraded, and it need not._spendruns only on_link's failure path, which raises the enrollment's own error right after it, so no answer is served from its fallback. A failed spend is a write that did not land, which the allowlist'swritecategory covers.Scope and risk
One line in
tests/unit/degraded_unnoted.txt. No server code changes.Compatibility, rollout and rollback
Tests
pytest -q -p no:randomly tests/unit/test_degraded_unnoted.py: 1 failed, 1 passed onmain(a229f49), namingmcp_worker_enrollment_flow.py::_spend::1; 2 passed with this entry.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; I checked the call site of
_spendand the category's meaning in the scan test's_CATEGORIES.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.main; no merged migration is edited. None added.frontend/changed. Not changed.docs/describe the system as it now is. No docs change.git commit -s), as CONTRIBUTING.md asks.🤖 Generated with Claude Code