Skip to content

[Fleet Monitor] petry-projects/.github — claude.yml #427

Closed

Description

@don-petry

🔴 CRITICAL: petry-projects/.github / claude.yml

Metric Value
Failure Rate 53.3% (8 / 15 runs)
Status CRITICAL
p50 Duration 488s
p95 Duration 741s
Successful Runs 7
Cancelled Runs 0

Workflow: claude.yml

Last updated by Fleet Monitor run on 2026-06-11.
Threshold: failure rate > 10% over the monitored window.

Activity

  1. added
    dev-leadFor dev-lead agent pickup
    in-progressAn agent is actively working this issue
    and removed
    dev-leadFor dev-lead agent pickup
    on Jun 9, 2026
  2. don-petry commented on Jun 9, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead Implementation Plan

    Issue: #427 — [Fleet Monitor] petry-projects/.github — claude.yml

    Root Cause

    claude.yml on PR branches (e.g., PR #167 fix/gitleaks-standard-checksum-and-toml) references petry-projects/.github/.github/workflows/claude-code-reusable.yml@main, but claude-code-reusable.yml does not exist on main. GitHub immediately fails all claude.yml workflow runs with "workflow file issue" (0s duration), producing a 100% failure rate across all 9 monitored runs.

    A secondary OIDC constraint failure also occurs: Anthropic's token endpoint requires .github/workflows/claude.yml on the PR branch to be byte-for-byte identical to main. Since claude.yml doesn't exist on main, the check fails even if the workflow file issue is resolved.

    Scope

    Add two missing workflow files to main so that:

    1. claude-code-reusable.yml@main resolves → fixes the "workflow file issue"
    2. claude.yml on main matches the PR branch content → fixes the OIDC byte-for-byte constraint

    Content is taken verbatim from PR #167's branch (fix/gitleaks-standard-checksum-and-toml), which already contains the correct implementation.

    Implementation Checklist

    Tests to Write

    TDD Exception: These are GitHub Actions workflow files with no locally-executable behavioral logic. The observable test is whether workflow runs on GitHub succeed after the fix lands. Skipping the red/green TDD phase; correctness is validated by the fleet monitor in the next monitoring window.

    Test Command

    bash ".dev-lead/scripts/dev-lead-lint.sh"
  3. don-petry commented on Jun 9, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead: Implementation Complete

    Root Cause

    claude.yml in this repo (on PR #167's branch fix/gitleaks-standard-checksum-and-toml) references claude-code-reusable.yml@main, but neither claude-code-reusable.yml nor claude.yml existed on main. Every pull_request sync of PR #167 triggered the claude.yml workflow (same-repo PR uses the PR-branch workflow) and immediately failed (0s) with "workflow file issue" because the referenced reusable workflow didn't exist on main. A secondary failure was the OIDC byte-for-byte constraint: Anthropic's token endpoint requires claude.yml on the PR branch to match main exactly.

    Plan Execution

    Test Results

      [lint] shellcheck on 12 file(s)...
      [lint] all checks passed
    

    Files Changed

    • .github/workflows/claude.yml: Added thin caller stub delegating to claude-code-reusable.yml@main
    • .github/workflows/claude-code-reusable.yml: Added centralized reusable workflow for the org (473 lines — contains claude, claude-fix-review-comments, claude-ci-fix, claude-issue, and claude-rebase jobs)

    TDD Exception

    These are GitHub Actions workflow files — there are no locally-executable tests. Correctness is validated by workflow runs on GitHub. Skipped Phase 2 (TDD) per the exception for pure configuration changes.

    Notes

    • Once this PR merges to main, PR fix(standards): rename GITLEAKS_SHA256→GITLEAKS_CHECKSUM, add .gitleaks.toml template #167 will no longer fail: claude-code-reusable.yml@main will resolve and claude.yml on main will match the PR branch byte-for-byte
    • The fleet monitor should see successful runs in the next monitoring window, dropping the failure rate from 100% to 0%
    • The claude-code-reusable.yml uses anthropics/claude-code-action@476e359e6203e73dad705c8b322e333fabbd7416 (v1.0.119) with SHA-pinned actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd (v6.0.2), both compliant with the Action Pinning Policy
  4. added a commit that references this issue on Jun 13, 2026
  5. don-petry commented on Jul 14, 2026

    @don-petry
    ContributorAuthor

    Closing — this tracks claude.yml/claude-code-reusable.yml, which was deprecated and deleted (#456). Fleet Monitor only scans active workflows, so it can't re-evaluate or close alerts for a removed workflow. Auto-close for recovered/deleted workflows is being added in combsmith/.github-private#1204 (tracked in #1203).

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions