Skip to content

feat: implement issue #689 — [Phase 2] Repin ci-failure-analyst callers/template/docs to @ci-failure-analyst/stable - #1211

Merged
don-petry merged 2 commits into
mainfrom
dev-lead/issue-689-20260714-0314
Jul 14, 2026
Merged

feat: implement issue #689 — [Phase 2] Repin ci-failure-analyst callers/template/docs to @ci-failure-analyst/stable#1211
don-petry merged 2 commits into
mainfrom
dev-lead/issue-689-20260714-0314

Conversation

@don-petry

@don-petry don-petry commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Closes #689

Implemented by dev-lead agent. Please review.

Summary by CodeRabbit

  • Chores
    • Updated the CI failure analysis workflow to use the latest stable reusable workflow version.
  • Documentation
    • Updated the CI Failure Analyst documentation example to reference the current workflow version.

…rs/template/docs to @ci-failure-analyst/stable
Copilot AI review requested due to automatic review settings July 14, 2026 03:17
@don-petry
don-petry requested a review from a team as a code owner July 14, 2026 03:17
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The CI Failure Analyst lock workflow and documentation now reference the reusable workflow through ci-failure-analyst/stable instead of a pinned commit SHA.

Changes

CI Failure Analyst ref update

Layer / File(s) Summary
Update reusable workflow references
.github/workflows/ci-failure-analyst.lock.yml, docs/aw/ci-failure-analyst.md
The analyze job and architecture documentation now use the ci-failure-analyst/stable reusable workflow reference.

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

Suggested labels: needs-human-review

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Linked Issues check ⚠️ Warning The lock workflow and docs were repinned, but the required templates/ci-failure-analyst.yml update is missing. Also update templates/ci-failure-analyst.yml to use ci-failure-analyst-reusable.yml@ci-failure-analyst/stable so all three surfaces stay in lockstep.
✅ Passed checks (4 passed)
Check name Status Explanation
Out of Scope Changes check ✅ Passed The diff stays focused on repinning the CI Failure Analyst references and documentation, with no unrelated changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: repinning CI Failure Analyst references to the stable tag across callers, template, and docs.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-lead/issue-689-20260714-0314

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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the documentation in docs/aw/ci-failure-analyst.md to reference the stable branch (ci-failure-analyst/stable) instead of a specific commit SHA for the reusable workflow. There are no review comments, and I have no feedback to provide.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR completes issue #689 by repinning CI Failure Analyst caller surfaces from a fixed SHA to the sanctioned moving channel tag @ci-failure-analyst/stable, aligning consumers with the repo’s first-party release-channel tagging model.

Changes:

  • Repins the lock caller workflow to ci-failure-analyst/stable (removing the interim SHA pin and # main annotation).
  • Updates the deployable template stub to use ci-failure-analyst/stable.
  • Updates the documentation to reference the same ci-failure-analyst/stable reusable ref.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci-failure-analyst.lock.yml Repins the reusable workflow reference to @ci-failure-analyst/stable for this repo’s lock caller.
templates/ci-failure-analyst.yml Repins the reusable workflow reference to @ci-failure-analyst/stable for downstream consumers using the template stub.
docs/aw/ci-failure-analyst.md Updates the architecture diagram/reference to point at @ci-failure-analyst/stable, matching the workflows.

@don-petry

Copy link
Copy Markdown
Collaborator Author

Dev-Lead — review-changes (no-changes)

No changes were needed for this PR.

@don-petry
don-petry enabled auto-merge (squash) July 14, 2026 03:22

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review — APPROVED ✓

Risk: LOW
Reviewed commit: ef86d71333be9ed2be420d7798cb1bdfc80e5bcf
Review mode: triage-approved (single reviewer)

Summary

Two-line change repinning the ci-failure-analyst lock caller and docs from an interim SHA pin to the sanctioned @ci-failure-analyst/stable channel tag, completing issue #689. The template surface (templates/ci-failure-analyst.yml) already carries the channel-tag pin on main, so all three surfaces in the issue are now in lockstep. The tag was verified to resolve (cc0bc61) and points to a commit on main, satisfying the no-off-main-SHA requirement.

Linked issue analysis

Issue #689 acceptance criteria: (1) lock caller repinned to @ci-failure-analyst/stable with no trailing # main annotation — met in this diff; (2) templates/ci-failure-analyst.yml pins the same ref — already satisfied on main prior to this PR (verified via API); (3) docs/aw/ci-failure-analyst.md shows the matching reference — met in this diff; (4) the channel tag resolves — verified: refs/tags/ci-failure-analyst/stable -> cc0bc61; (5) no off-main SHA remains — verified the tag commit is an ancestor of main. All acceptance criteria substantively addressed.

Findings

No blocking findings.

  • Mutable-tag pinning of a reusable workflow is ordinarily a security smell, but this is a first-party, same-repo reference following the org's sanctioned release-channel model (mirrors the existing dev-lead-reusable.yml@dev-lead/stable pattern per docs/release/versioning.md), and is exactly what the linked issue mandates. SonarCloud, CodeQL, AgentShield, gitleaks, and the Agent Security Scan are all green.
  • Nit (non-blocking): the template's pin carries a NOSONAR(githubactions:S7637) annotation while the lock caller's new pin does not; SonarCloud passed regardless.
  • Note: Copilot's earlier review listed templates/ci-failure-analyst.yml as changed in this PR; the actual diff touches only 2 files — the template was already repinned on main.
  • The run_secret_scanning MCP tool was not available in this session; the gitleaks CI check passed and the diff contains only workflow-ref/doc changes with no secret-like content.

CI status

All substantive checks green: Lint, ShellCheck, bats, unit-tests, CodeQL (actions + python), SonarCloud quality gate, gitleaks secret scan, Agent Security Scan, AgentShield, AW spec/workflow validation, template-drift, holdout-guard, Test-Deletion Guard. Two dev-lead orchestration jobs (dispatch/ci-relay) show CANCELLED from a concurrency-superseded run; a later run of the same workflow completed SUCCESS — non-blocking.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

@don-petry
don-petry merged commit 5392425 into main Jul 14, 2026
53 of 68 checks passed
@don-petry
don-petry deleted the dev-lead/issue-689-20260714-0314 branch July 14, 2026 03:34
@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review — APPROVED ✓

Risk: LOW
Reviewed commit: b62b878af1bf403d6f1528098f68596a49e758e7
Review mode: triage-approved (single reviewer)

Summary

Two-line pin swap completing issue #689: the ci-failure-analyst lock caller and docs move from an interim off-main SHA pin to the sanctioned @ci-failure-analyst/stable channel tag. The third surface (templates/ci-failure-analyst.yml) already carries the channel-tag pin at the PR head, so all three surfaces are in lockstep. The tag was verified to resolve (cc0bc61). Channel tags on first-party callers are an explicit AGENTS.md-sanctioned exception to the SHA-pin standard, mirroring @dev-lead/stable. A prior single review approved ef86d71; the only change since is a merge of main (unrelated commits #1201/#1194) — the PR's own diff is unchanged.

Linked issue analysis

Issue #689 acceptance criteria all satisfied: (1) ci-failure-analyst.lock.yml pins @ci-failure-analyst/stable with no trailing # main SHA annotation; (2) templates/ci-failure-analyst.yml carries the same channel-tag pin at the PR head (verified via contents API); (3) docs/aw/ci-failure-analyst.md matches; (4) the ci-failure-analyst/stable tag resolves on origin (cc0bc61, verified via git/matching-refs); (5) no off-main SHA remains on any ci-failure-analyst surface.

Findings

No blocking findings. The SHA-to-mutable-ref change would normally be an Actions pinning smell, but AGENTS.md explicitly sanctions /stable channel tags on first-party callers as the version-selection mechanism, and the reusable workflow is same-repo. Zero review threads; no unanswered human-reviewer questions (all reviews are bots; gemini and copilot had no comments, coderabbit approved). Secret-scanning MCP tool unavailable in this environment; gitleaks CI check is green.

CI status

All checks green at head SHA b62b878: agent-shield, Lint, CodeQL (actions + python), shellcheck, ShellCheck, SonarCloud, gitleaks, bats, unit-tests, template-drift, gh-aw-compile, validate-agent-profiles/personas, AW validation, CodeRabbit — all SUCCESS. Cancelled entries are superseded duplicate runs from before the merge of main; the pending review/review check is this review run itself.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

@donpetry-bot donpetry-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automated review — APPROVED ✓

Risk: LOW
Reviewed commit: b62b878af1bf403d6f1528098f68596a49e758e7
Review mode: triage-approved (single reviewer)

Summary

Two-line change repinning the ci-failure-analyst lock caller and docs from the interim SHA (0ef7b61) to the sanctioned @ci-failure-analyst/stable channel tag, completing issue #689. Confirms the triage assessment: first-party same-repo reusable workflow, mirrors the established dev-lead/stable pattern. Diff is unchanged since the prior approved review (ef86d71); only main was merged in since.

Linked issue analysis

Issue #689 substantively addressed — all acceptance criteria verified: AC1 lock.yml pins @ci-failure-analyst/stable with no trailing SHA annotation; AC2 templates/ci-failure-analyst.yml already pins the channel tag at head; AC3 docs updated to match; AC4 the tag resolves on origin (cc0bc61); AC5 no off-main SHA remains on any ci-failure-analyst surface (consumer-manifest.json entries are path-only, not pins).

Findings

No blocking findings. Note: SHA-to-mutable-ref repins are normally a security smell, but this is the org's sanctioned first-party release-channel model (initiative issue #689, same-repo reusable, tag controlled by repo admins) — not a violation. MCP secret scanning tool unavailable in this run; gitleaks CI check passed and the 2-line diff contains no secret material. No review threads; bot reviewers (Copilot, Gemini, CodeRabbit) generated no comments; no unanswered human questions.

CI status

Green. All completed checks SUCCESS or SKIPPED (shellcheck, gitleaks, CodeQL, SonarCloud, agent-shield, unit-tests, bats, template-drift, gh-aw-compile, holdout-guard, validate-* all passing). CANCELLED entries are superseded runs from the previous head SHA, each with a SUCCESS counterpart on the current head. The in-progress review/review check is this review itself.


Reviewed automatically by the PR-review agent (single-reviewer mode: fable 5). Reply if you need a human review.

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.

[Phase 2] Repin ci-failure-analyst callers/template/docs to @ci-failure-analyst/stable

3 participants