upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/tiny_game_exit_code_test.cpp
diff options
context:
space:
mode:
authorsyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 17:18:58 +0100
committersyfyra <258908070+syfyra@users.noreply.github.com>2026-11-26 17:18:58 +0100
commit80c6f3041d19b95dc664443bf4327f97fbe1dcab (patch)
tree33732691353d7e7a646f544d29bf1600151000d6 /runtime/test/tiny_game_exit_code_test.cpp
parent246791612080cae89dc40cd20c5cdb8d92f90066 (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 'runtime/test/tiny_game_exit_code_test.cpp')
0 files changed, 0 insertions, 0 deletions