diff options
| author | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 17:18:58 +0100 |
|---|---|---|
| committer | syfyra <258908070+syfyra@users.noreply.github.com> | 2026-11-26 17:18:58 +0100 |
| commit | 80c6f3041d19b95dc664443bf4327f97fbe1dcab (patch) | |
| tree | 33732691353d7e7a646f544d29bf1600151000d6 /tests/test_run_gpu_tests_python_assembler.py | |
| parent | 246791612080cae89dc40cd20c5cdb8d92f90066 (diff) | |
page_index: a directory page is never a continuation (PAGE-INDEX-DIRECTORY-NOT-CONTINUATION)
index_streams appended the next stream to a waiting page's continuations
before asking whether that stream is a directory page of its own. When
the waiting page needed only a few more bytes, the next 0DRP page
covered them: the waiting page was reported complete with the new
page's header as its record's payload, and the new page was never
indexed. When the waiting page stayed incomplete, the new page was still
listed among its continuations and its resource streams.
docs/page_directory.md measured that no continuation stream is a 0DRP
page ("a resource extends forward by payload, not by nesting another
directory"), and tools/navmesh_nodes.py already stops a resource at a
stream that opens one of its own. Check is_page before appending: the
waiting page is reported as parsed with the continuations it had, and
the stream is indexed as the new page.
Tested: new test_a_directory_page_is_not_taken_as_a_continuation_even_
when_it_would_complete_one (fails before: one page instead of two); the
existing test of a new page after a continuation now expects the first
page's one continuation instead of both streams (renamed accordingly).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions