[PR #4796] [MERGED] fix(ci): format keyed archive CLI regression test #6414

Closed
opened 2026-10-31 01:14:16 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/4796
Author: @N0zoM1z0
Created: 10/17/2026
Status: ✅ Merged
Merged: 10/17/2026
Merged by: @N0zoM1z0

Base: main ← Head: fix/ci-keyed-archive-format-20261017


📝 Commits (1)

  • f9923fe fix(ci): format keyed archive CLI regression test

📊 Changes

1 file changed (+4 additions, -1 deletions)

View changed files

📝 tests/boundary/cli/keyedArchivePrototypeKeyCli.test.ts (+4 -1)

📄 Description

Summary

Restore main's static CI gate by formatting the keyed-archive CLI/MCP regression test with the locked formatter. One file, one call expression; test assertions and product behavior are unchanged.

Problem and expected behavior

Main at 7aa4b98c9 fails npm run check:ci: oxfmt --check . reports this single file. Failing main job. The same failure was reproduced locally before applying the formatter. This is a standalone CI repair; no separate issue was opened for the mechanical correction.

Change and scope

Wrap the long inspect_keyed_archive call using oxfmt. The existing formatting gate catches the original failure; no new formatter-specific test is needed.

  • Semantic owner: test-source formatting, enforced by format:check.
  • Contribution scope: ordinary CI repair; additional maintainer scope decision not applicable.
  • CLI/MCP, provider, Evidence, authority, cleanup, package, generated metadata and installation contracts: unchanged.
  • Product side effects: none added.

Validation performed

Executed on Linux with Node 24.18.0 / npm 11.16.0:

  • Before correction, npm run format:check — failed on this file only (3,929 files examined).
  • npm run check:ci — passed all eight tasks and architecture guards.
  • npm run check — passed.
  • npm run test:focused -- tests/boundary/cli/keyedArchivePrototypeKeyCli.test.ts — 2/2 passed using the compiled CLI and local MCP transport; XML/binary inputs, root selection, Evidence equality and input preservation remain checked.
  • git diff --check — passed.

Heavy validation ran serially on two CPUs; sampled peak process-family RSS was 4.68 GiB. No runtime performance improvement is claimed. External disassemblers and native macOS workflows were not exercised; the change only reformats a Linux-runnable test.

Author readiness

Human owner: @N0zoM1z0

The declarations below are recorded under the human owner's explicit standing instruction in the task conversation: “後續審閱,承擔,聲明 都同意!不用問我了”. No separate new human-review event is asserted.

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • This PR addresses a concrete problem and has one focused outcome.
  • Material scope and authority questions are resolved.
  • Existing formatting enforcement detects the original failure; affected CLI/MCP tests pass.
  • The final diff contains only the formatter's correction; no unrelated cleanup or generated outputs.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/4796 **Author:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Created:** 10/17/2026 **Status:** ✅ Merged **Merged:** 10/17/2026 **Merged by:** [@N0zoM1z0](https://github.com/N0zoM1z0) **Base:** `main` ← **Head:** `fix/ci-keyed-archive-format-20261017` --- ### 📝 Commits (1) - [`f9923fe`](https://github.com/morluto/rea/commit/f9923fec5cbad37fb32f8cbb651078605aae0cfd) fix(ci): format keyed archive CLI regression test ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `tests/boundary/cli/keyedArchivePrototypeKeyCli.test.ts` (+4 -1) </details> ### 📄 Description ## Summary Restore main's static CI gate by formatting the keyed-archive CLI/MCP regression test with the locked formatter. One file, one call expression; test assertions and product behavior are unchanged. ## Problem and expected behavior Main at `7aa4b98c9` fails `npm run check:ci`: `oxfmt --check .` reports this single file. [Failing main job](https://github.com/morluto/rea/actions/runs/39033502440/job/117399198816). The same failure was reproduced locally before applying the formatter. This is a standalone CI repair; no separate issue was opened for the mechanical correction. ## Change and scope Wrap the long `inspect_keyed_archive` call using `oxfmt`. The existing formatting gate catches the original failure; no new formatter-specific test is needed. - Semantic owner: test-source formatting, enforced by `format:check`. - Contribution scope: ordinary CI repair; additional maintainer scope decision not applicable. - CLI/MCP, provider, Evidence, authority, cleanup, package, generated metadata and installation contracts: unchanged. - Product side effects: none added. ## Validation performed Executed on Linux with Node 24.18.0 / npm 11.16.0: - Before correction, `npm run format:check` — failed on this file only (3,929 files examined). - `npm run check:ci` — passed all eight tasks and architecture guards. - `npm run check` — passed. - `npm run test:focused -- tests/boundary/cli/keyedArchivePrototypeKeyCli.test.ts` — 2/2 passed using the compiled CLI and local MCP transport; XML/binary inputs, root selection, Evidence equality and input preservation remain checked. - `git diff --check` — passed. Heavy validation ran serially on two CPUs; sampled peak process-family RSS was 4.68 GiB. No runtime performance improvement is claimed. External disassemblers and native macOS workflows were not exercised; the change only reformats a Linux-runnable test. ## Author readiness Human owner: @N0zoM1z0 The declarations below are recorded under the human owner's explicit standing instruction in the task conversation: “後續審閱,承擔,聲明 都同意!不用問我了”. No separate new human-review event is asserted. - [x] I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work. - [x] I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps. - [x] I declare this PR ready for initial maintainer review. ## Before merge - [x] This PR addresses a concrete problem and has one focused outcome. - [x] Material scope and authority questions are resolved. - [x] Existing formatting enforcement detects the original failure; affected CLI/MCP tests pass. - [x] The final diff contains only the formatter's correction; no unrelated cleanup or generated outputs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 01:14:16 +00:00
bsakaguchi changed title from [PR #4796] [MERGED] fix(ci): format keyed archive CLI regression test to [PR #4796] fix(ci): format keyed archive CLI regression test 2026-11-03 15:37:44 +00:00
bsakaguchi changed title from [PR #4796] fix(ci): format keyed archive CLI regression test to [PR #4796] [MERGED] fix(ci): format keyed archive CLI regression test 2026-11-03 16:39:26 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#6414
No description provided.