test(7833): the write path is pinned to the kinds its door considers, not the retired fixed lists
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m4s
CI & Build / integration (push) Successful in 2m14s
CI & Build / Build & push image (push) Successful in 39s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Plugin hooks (push) Successful in 14s
CI & Build / TypeScript typecheck (push) Successful in 33s
CI & Build / Python tests (push) Successful in 2m4s
CI & Build / integration (push) Successful in 2m14s
CI & Build / Build & push image (push) Successful in 39s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -101,10 +101,10 @@ async def test_the_write_path_asks_for_lessons_at_all():
|
||||
await pc.build_write_path_hint(1, "src/ui/Badge.vue", code="x" * 400)
|
||||
|
||||
kw = search.await_args.kwargs
|
||||
assert LESSON_NOTE_TYPE in kw["note_type"]
|
||||
# The kinds it already carried must survive the addition — a tuple rewritten
|
||||
assert LESSON_NOTE_TYPE in kw["record_kinds"]
|
||||
# The kinds it already carried must survive the addition — a set rewritten
|
||||
# rather than extended would trade one unreachable kind for another.
|
||||
assert {"snippet", "note"} <= set(kw["note_type"])
|
||||
assert {"snippet", "note"} <= set(kw["record_kinds"])
|
||||
assert kw["include_global_kinds"] is True
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user