Skip to content

test(cmd): use a redaction marker that cannot match by chance (#641) - #642

Merged
sungjunlee merged 1 commit into
mainfrom
test/641-redaction-marker
Oct 9, 2026
Merged

sungjunlee merged 1 commit into
mainfrom
test/641-redaction-marker

Conversation

@sungjunlee

@sungjunlee sungjunlee commented Oct 9, 2026 •

Copy link
Copy Markdown
Owner

Closes #641.

The redaction contract tests used the temporary directory base name (for example 001) as the leak marker, which can occur by chance in the fractional seconds of evidence.observed_at; release PR #640 hit this on macOS. The three tests now use a home directory named aibris-redaction-marker-home. The --include-paths check in the classic test still requires the full fixture path (which contains the marker), so the redaction checks keep a positive control.

make check and go test ./cmd -run TestCleanJSONCLIContract: exit 0.

🤖 Generated with Claude Code

The temporary directory's base name (for example 001) could appear in a
timestamp's fractional seconds and fail the leak check without a leak.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1c0fde98-751b-4d9b-9235-cc49d3fdc7b0

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T14:24:31.241578Z ce691d5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sungjunlee
sungjunlee merged commit 3c71619 into main Oct 9, 2026
6 checks passed
@sungjunlee
sungjunlee deleted the test/641-redaction-marker branch October 9, 2026 15:23
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.

test(cmd): redaction test marker can match timestamps by chance

1 participant