fix(#6818): append [skip ci] to GitLab scaffold MR title - #6819
Conversation
The scaffoldCommitFn in repos.go appended [skip ci] to meta.CommitMsg for GitLab forges but not to meta.PRTitle. On GitLab projects with merged-results pipelines, only the MR title check (from PR #6723) can suppress dispatch — the synthetic merge commit does not carry commit message trailers. This caused every scaffold install MR to trigger the review agent. Add the matching PRTitle append so the dispatch job's CI_MERGE_REQUEST_TITLE check prevents the review agent from running on scaffold MRs. Closes #6818
|
🤖 Finished Review · ✅ Success · Started 7:24 PM UTC · Completed 7:42 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.79 |
|
Risk Assessment: moderate (2/5) DetailsMinimal 1-line production change with strong test coverage (0.50 ratio) on a high-churn file with frequent recent fixes, yielding moderate risk driven primarily by git history volatility despite very low metadata risk. Re-review confirms no signal changes from prior assessment. Previous runRisk Assessment: moderate (2/5) DetailsMinimal 1-line production change with strong test coverage (0.50 ratio) on a high-churn file with frequent recent fixes, yielding moderate risk driven primarily by git history volatility despite very low metadata risk. Score unchanged from prior assessment. Previous run (2)Risk Assessment: moderate (2/5) DetailsMinimal 1-line production change with strong test coverage (0.50 ratio) on a high-churn file with frequent recent fixes, yielding moderate risk driven primarily by git history volatility despite very low metadata risk. |
|
Looks good to me Previous runReviewFindingsLow
Next steps:
Previous run (2)ReviewFindingsLow
Labels: PR fixes GitLab scaffold install MR title to include [skip ci] for dispatch suppression Next steps:
|
|
🤖 Finished Fix · ✅ Success · Started 7:44 PM UTC · Completed 7:52 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $1.22 |
Change _ = runReposInstall(...) to err := runReposInstall(...) in TestRunReposInstall_GitLabPRTitleIncludesSkipCI to match the error- handling idiom used by every other call site in repos_test.go. Addresses #6819
🔧 Fix agent — iteration 1 (bot-triggered)Addressed the single low-severity finding: changed blank identifier assignment to named error capture in TestRunReposInstall_GitLabPRTitleIncludesSkipCI to match established file convention. Test passes, secret scan clean. Fixed (1):
Tests: passedNext steps:
|
|
🤖 Review · ❌ Terminated · Started 7:54 PM UTC · Ended 8:13 PM UTC Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
🤖 Finished Review · ✅ Success · Started 7:54 PM UTC · Completed 8:13 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $4.50 |
|
🤖 Finished Fix · ✅ Success · Started 8:14 PM UTC · Completed 8:21 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $0.70 |
Replace `_ = err` with `t.Logf` in the GitLab scaffold MR title test so partial-failure details are visible in verbose test output. Addresses #6819
🔧 Fix agent — iteration 2 (bot-triggered)Replaced Fixed (1):
Tests: passedNext steps:
|
|
🤖 Finished Review · ✅ Success · Started 8:23 PM UTC · Completed 8:36 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $2.52 |
Superseded by updated review
|
🤖 Finished Retro · ✅ Success · Started 8:53 PM UTC · Completed 9:04 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $3.94 |
Retro: PR #6819 —
|
The scaffoldCommitFn in repos.go appended [skip ci] to meta.CommitMsg for GitLab forges but not to meta.PRTitle. On GitLab projects with merged-results pipelines, only the MR title check (from PR #6723) can suppress dispatch — the synthetic merge commit does not carry commit message trailers. This caused every scaffold install MR to trigger the review agent.
Add the matching PRTitle append so the dispatch job's CI_MERGE_REQUEST_TITLE check prevents the review agent from running on scaffold MRs.
Closes #6818
Post-script verification
agent/6818-skip-ci-mr-title)1ac1750a661c6ccc170267c8b3919d2597cf7810..HEAD)