Skip to content

chore: never track QA gate run artifacts - #5856

Merged
mmabrouk merged 1 commit into
release/v0.112.0from
chore/ignore-qa-gate-artifacts
Aug 9, 2026
Merged

chore: never track QA gate run artifacts#5856
mmabrouk merged 1 commit into
release/v0.112.0from
chore/ignore-qa-gate-artifacts

Conversation

@mmabrouk

@mmabrouk mmabrouk commented Aug 9, 2026

Copy link
Copy Markdown
Member

Tonight's secret-scan alarm, resolved: gitleaks flagged 11 generic-api-key hits in .agents/skills/agent-release-gate/qa-gate-runs/ artifacts that briefly rode a blanket commit onto a pushed (then immediately replaced) branch. Verified with the scanner plus a field-level inspection: every hit is the gate's own synthetic QA-CWD-<hex> probe token (cwd_token fields and agent reply echoes), and the files contain zero real key patterns. No credential was exposed; nothing needs rotation.

The recurrence path is real though: the run outputs sit untracked in working trees where multiple agents commit, and any blanket add sweeps them in — which then fails every downstream secret scan. One ignore line closes it.

The qa-gate-runs outputs carry per-run probe tokens (QA-CWD-*) that trip
secret scanners as generic-api-key hits, and the untracked pile once rode
a blanket commit onto a pushed branch (caught by gitleaks, verified to
contain no real keys - the tokens are the gate's own synthetic sentinels).
Ignoring the directory removes the recurrence path.
@vercel

vercel Bot commented Aug 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Blocked Blocked Aug 9, 2026 9:58pm

Request Review

@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Aug 9, 2026
@coderabbitai

coderabbitai Bot commented Aug 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro Plus

Run ID: bf10b3af-9ac8-4165-95f7-9e3f14d89a8b

📥 Commits

Reviewing files that changed from the base of the PR and between cd13ca3 and add4251.

📒 Files selected for processing (1)
  • .gitignore

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Excluded QA gate run outputs and generated probe artifacts from version control.

Walkthrough

The .gitignore file now excludes machine-generated QA gate run outputs under .agents/skills/agent-release-gate/qa-gate-runs/.

Changes

QA gate output exclusion

Layer / File(s) Summary
Ignore generated QA gate outputs
.gitignore
Added an ignore rule for QA gate run outputs and generated probe-token artifacts.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: preventing QA gate run artifacts from being tracked.
Description check ✅ Passed The description explains the secret-scan findings and the ignore-rule change, directly matching the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/ignore-qa-gate-artifacts

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.

@mmabrouk
mmabrouk merged commit e3f595f into release/v0.112.0 Aug 9, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant