Skip to content

test(t27os): queen_chats asserts the length byte, not dead memory (Refs #3) - #11915

Merged
gHashTag merged 1 commit into
masterfrom
fix/queen-chats-stale-assert
Oct 23, 2026
Merged

gHashTag merged 1 commit into
masterfrom
fix/queen-chats-stale-assert

Conversation

@gHashTag

Copy link
Copy Markdown
Collaborator

The failing assert read an undefined-buffer byte the spec's rc_paste never writes. The two compilers disagree on undefined memory (t27c/Zig debug = 0xAA fill, t27b = zero-fill), so the test was compiler-dependent: it passed under t27b and failed under the reference. The fix asserts the byte the spec defines — the length byte at RC_TEXT_MAX == 5, the same intent on a defined byte. 5/5 both compilers after.

#3)

The failing assert read t[5] of an undefined [512]u8 buffer -- a byte
rc_paste never writes. The two compilers disagree on undefined memory
(t27c/Zig debug fills 0xAA, t27b zero-fills), so the assert passed
under t27b and failed under the reference: a compiler-dependent test,
not a spec defect. rc_paste's own law (the length byte at RC_TEXT_MAX,
the printable join stopped at the cap) defines the byte the test now
checks: t[RC_TEXT_MAX] == 5 -- same intent, a defined byte. 5/5 both
compilers, the paste-cap asserts untouched.
@gHashTag
gHashTag enabled auto-merge October 23, 2026 22:56
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-10-23 22:56:12 UTC

Summary

Status Count
Total Open PRs 42
PRs with Failing Checks 37
PRs with All Checks Green 5
READY 4
FAILING 37
PENDING 0
NO CHECKS YET 0

These columns do not partition: 4 + 37 + 0 + 0 = 41, and there are 42 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=5aec047d42ec != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit b4adecc into master Oct 23, 2026
25 of 29 checks passed
@gHashTag
gHashTag deleted the fix/queen-chats-stale-assert branch October 26, 2026 03:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant