Skip to content

fix: wire 4 orphaned test files into npm test (65 cases)#162

Open
AliceLJY wants to merge 2 commits intomasterfrom
fix/wire-orphaned-tests
Open

fix: wire 4 orphaned test files into npm test (65 cases)#162
AliceLJY wants to merge 2 commits intomasterfrom
fix/wire-orphaned-tests

Conversation

@AliceLJY
Copy link
Collaborator

Summary

  • test/access-tracker.test.mjs (59 cases), test/self-improvement.test.mjs (3), test/session-recovery-paths.test.mjs (2), test/jsonl-distill-slash-filter.test.mjs (1) were present in test/ but never executed by npm test.
  • This PR adds them to the test script in package.json. All 4 files use node:test and are invoked with node --test.

Verification

  • All 4 files pass independently on master (65/65, exit code 0).
  • memory-reflection.test.mjs is intentionally not included — it has a known failing assertion (sessionStrategy default value).
  • The pre-existing smart-extractor-branches.mjs failure (LLM-dependent assertion at line 470) is unrelated to this change.

Change

Only package.json line 38 (scripts.test) is modified. No source code changes.

🤖 Generated with Claude Code

access-tracker.test.mjs (59), self-improvement.test.mjs (3),
session-recovery-paths.test.mjs (2), jsonl-distill-slash-filter.test.mjs (1)
were present in test/ but never executed by `npm test`.

All 4 pass independently on master. Note: the pre-existing
smart-extractor-branches.mjs failure (LLM-dependent assertion) is
unrelated to this change.

memory-reflection.test.mjs is intentionally excluded — it has a known
failing assertion on the sessionStrategy default value.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions github-actions bot requested a review from rwmjhb March 11, 2026 04:48
Codex review correctly identified that the 4 newly wired tests were
placed after the known-flaky smart-extractor-branches.mjs, meaning
they never actually ran in `npm test`. Move the flaky test to the
end of the chain so all deterministic tests execute first.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

2 participants