Skip to content

test: adoption companion for TRACE #622 fixture access - #7

Draft
dinakarjs wants to merge 1 commit into
review/upstream-622-c94f4f9from
fix/622-revocation-fixture-access
Draft

dinakarjs wants to merge 1 commit into
review/upstream-622-c94f4f9from
fix/622-revocation-fixture-access

Conversation

@dinakarjs

Copy link
Copy Markdown
Owner

Upstream agentrust-io#622's new non-plain-bundle test reads a nonexistent vector filename and accesses vec.record, while the committed vector exposes records. This two-line test correction uses 20-malformed-statement-on-another-log.json and vec.records[0], so the test reaches the intended verifier boundary. Runtime source and normative text are unchanged.

Based directly on upstream c94f4f9; preserve the original author's history when adopting. Addresses lywinged's current review: agentrust-io#622 (review) .

Validation: npm ci --ignore-scripts --no-audit --no-fund, then npm test on Node 24.22.1. Before: 164 passed, one failed on the missing fixture. After: 165 passed, zero skipped. Removing only the checkRevocationBundle plain-object guard causes the repaired case to fail with invalid_argument; restoring it returns all 165 to passing. Diff whitespace passes. The published tree f76a4e43a6fcd3c223ec48aafe8e71151c6fb974 matches the tested tree.

Node 20/22, the full Python suite and differential workflow were not rerun for this two-line test-only companion. No separate fresh-reader session was performed; author adoption and independent review remain. No new rejection or normative rule is introduced; no changelog entry proposed. Prepared with OpenAI Codex; DCO sign-offs included.

Use the committed fixture filename and its first records entry so the non-plain-bundle guard is exercised.

Signed-off-by: Srinivasa Dinakar Jainti <dinakarjs@gmail.com>
Signed-off-by: Srinivasa Consultants <78673153+dinakarjs@users.noreply.github.com>
@github-actions

github-actions Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

🟡 Contributor Check: MEDIUM

Check Result
Profile MEDIUM
Credential LOW
Overall MEDIUM

Automated check by AgenTrust Contributor Check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:MEDIUM Contributor check flagged MEDIUM risk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant