Repository navigation
test(firmware): cover S-record high address workflows - #8881
ShuaixinHuang wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
[Low impact] This test-only PR appears safe to merge. SummaryAdds high-address S-record coverage through the compiled CLI and stdio MCP.
Reviews (1) · Last reviewed commit: "test(firmware): cover S-record high addr..." · Reviewed by Greptile |
Superseded by #8897 at the author's request; no code change.
Summary
Cover S28 high addresses in the compiled CLI and full/compact stdio MCP workflows, plus unsigned S37 addresses in the CLI. Existing CLI coverage selects S19, and existing MCP S37 coverage uses an address below the signed 32-bit boundary. No issue is linked: this is an independently identified public-workflow coverage gap.
Problem and expected behavior
S28 address 0x00fedcba and S37 address 0xfedcba98 must survive inventory and extraction without losing high bits or changing the source file. Literal checksum-valid records expect a deadbeef region and the corresponding S8/S7 start address.
Change and scope
Two test files add four scenarios. They check variant/start-address metadata, region names, exact extracted bytes and unchanged source bytes. Existing malformed-record and compact/full schema checks remain exercised. Contribution scope: independent test coverage for existing functionality; maintainer scope decision not applicable.
Contract and boundary impact
Expected effects:
These describe test-owned fixture files, extraction outputs and owned REA CLI/server processes. Firmware is not executed.
Evidence and regression coverage
Validation performed
npm.cmd run test:focused -- tests/acceptance/hexRecordsCli.test.ts tests/boundary/mcp/hexRecordsMcp.test.ts: 11 passed in two files, including actual compiled CLI and stdio MCP.npm.cmd run check:fast: typecheck and lint passed, 2 tasks, 43.389 s.git diff --check: passed.Compatibility, safety, and release
Test-only; no migration, runtime, schema, package or release metadata change. Real-device/provider validation is not established by these synthetic fixtures.
Author readiness
Human owner: @ShuaixinHuang
Before merge
type(scope): outcome.