Skip to content

feat(validation): select bounded native Node test names - #31

Draft
ITSGJY wants to merge 1 commit into
fix/agent-loop-json-boundsfrom
feat/962-node-native-test-filter
Draft

ITSGJY wants to merge 1 commit into
fix/agent-loop-json-boundsfrom
feat/962-node-native-test-filter

Conversation

@ITSGJY

@ITSGJY ITSGJY commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Support bounded native Node test-name selection through project_validate(action=test), exclusively for Runner-owned scripts node --test and node --test --test-reporter=tap.
  • Pass the JavaScript regexp as a single literal --test-name-pattern=<pattern> argument, bound to the canonical invocation, target identity, and source provenance; preserve the existing unfiltered identity.
  • Require the additive project_validation_node_name_filter_v1 Runner capability at planning and typed Job admission, including Auto resolution.
  • Exclude synthetic passing file-level assertions for unmatched Node TAP files from executed-test counts, preserving min_tests and durable same-Job semantics.

Verification

  • Native Node 24 fixtures: matching and nonmatching files, mixed files, nested suite, zero matches, and malformed pattern.
  • Core, Validation, Runner, Registry and Server regressions cover canonical argv, source identity, TAP count evidence and Runner capability refusal.
  • Fork CI for exact commit d0160018: 14 successful checks, 4 conditional skips, 0 failures.

Fork validation base

During Fork verification the base is fix/agent-loop-json-bounds so the CI environment includes the corresponding portable Python parser fix. The Node feature is a separate commit and can be proposed against upstream main once that fix is integrated.

Related: yyjeqhc#962.

@ITSGJY
ITSGJY force-pushed the feat/962-node-native-test-filter branch 2 times, most recently from e3cac74 to 0e3f1b0 Compare October 24, 2026 07:49
@ITSGJY
ITSGJY changed the base branch from main to fix/agent-loop-json-bounds October 24, 2026 08:12
@ITSGJY
ITSGJY force-pushed the feat/962-node-native-test-filter branch from 0e3f1b0 to 38ddbcb Compare October 24, 2026 08:12
Bind optional native TAP test-name patterns to canonical argv, target identity and source provenance. Gate filtered runs behind a new Runner capability at planning and Job admission. Exclude synthetic Node file-wrapper passes from durable executed-test counts and add regression coverage.
@ITSGJY
ITSGJY force-pushed the fix/agent-loop-json-bounds branch from ecf751b to b564ad4 Compare October 24, 2026 08:51
@ITSGJY
ITSGJY force-pushed the feat/962-node-native-test-filter branch from 38ddbcb to d016001 Compare October 24, 2026 08:51
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