Repository navigation
refactor(runtime): records for modules refused at boot; HeaderTables owner - #985
Merged
Merged
Conversation
…owner A selected module refused at boot gets an image-less record (record only, created in one pass after the boot loop so no holes form), holding its outcome and reason (refusal 26 B). Fields read after take-down (sel_of_rec, log_name, processor jobs) and provider outcomes stay in fixed columns, each with the reason in its owner. Loader tables move to a HeaderTables owner. The capacity test reads the refused count from the boot report times the generated record size. Boot snapshot: the errors scenarios gain the two 64-byte image-less records (approved); normal boots unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Part A step 3, last PR (5+6 of the design). Limit still 8; no reflash.
RECORD_REFUSAL_BYTES= 26, size asserted). A later live load into its slot allocates its block, enrolls it, then frees the image-less one.sel_of_rec,log_nameand processor jobs stay in fixed columns (read after take-down / a job outlives release), and provider outcomes stay a Session column (read after free); each reason is documented in its owner.HeaderTablesowner (loader/header_tables.rs) for the loader's header-table copy; arena backing deferred (not straightforward).Sizes: package text +2,032 B, rodata −261, bss −280.
Boot snapshot (approved by Em): the two errors scenarios gain the two 64-byte image-less records; normal dn2/dt2 boots unchanged.
Proof: unit and assembly tests (image-less create/replace, outcome after refusal, HeaderTables reload check); core/runtime:test-assembly (69 ok);
mise run test;mise run test:changed; affected static gate. Device: reload, missing, service-reload, capacity, runtime-refusal (dn2/dt2), memaudit full set dn2, safe-mode, boot-restart.🤖 Generated with Claude Code