Skip to content

ci: triage of 10 most-recent CI failures — fixes exist in PR #24, action needed to merge #29

@erudenko

Description

@erudenko

CI Maintenance Triage — 2026-04-11

Automated triage of the 10 most-recent failed GitHub Actions runs. The gh CLI and workflow-run API endpoints (logs, rerun) require authentication and are unavailable in this environment, so this issue captures findings and recommended actions.


Summary of Failed Runs

Run ID Workflow Branch Root Cause
24276607217 Test Plugins fix/ci-24065489776-ts-and-dates browser-use version drift (1.1.1 vs 1.1.2) — fixed in PR #24 latest push; all checks now green
24276583408 Test Stats Plugin fix/ci-type-errors-and-stale-test-date Stale hardcoded date 2026-03-26 outside 7/14-day window
24276582786 Test Plugins fix/ci-type-errors-and-stale-test-date TS6133 unused imports (existsSync, vi, removeGitignoreEntries)
24065489776 Test Plugins main TS6133 unused imports — main is dist-only orphan, no source code
24063290384 Test Plugins main TS6133 unused imports — same structural issue
24040412326 Test Stats Plugin fix/ci-type-errors-and-stale-test-date PR Stale hardcoded date
24040412328 Test Plugins fix/ci-type-errors-and-stale-test-date PR TS6133 unused imports
24029941408 Test Plugins main TS6133 unused imports
24029941414 Test Stats Plugin main Stale hardcoded date
24029844275 Test Plugins main TS6133 unused imports

Root Causes

1. TS6133 unused imports (affects test-plugins.yml / Run type check step)

Three imports left behind after refactors cause tsc --noEmit to fail under noUnusedLocals:

  • tools/claudeup-core/src/__tests__/integration/conventions-integration.test.ts: removeGitignoreEntries
  • tools/claudeup-core/src/__tests__/unit/doctor.test.ts: vi
  • tools/claudeup-core/src/services/conventions-manager.ts: existsSync

2. Stale hardcoded test dates (affects test-stats.yml / unit+integration tests)

plugins/stats/tests/db.test.ts and integration.test.ts used the hardcoded date "2026-03-26" which has since drifted outside the 7/14-day rolling query windows used by getSessionSummary, getTopTools, and getDurationTrend.

3. browser-use version drift in marketplace.json

plugins/browser-use/plugin.json was bumped to v1.1.2 but .claude-plugin/marketplace.json still had v1.1.1. The marketplace-sync integration test catches exactly this drift.

4. Structural: main is a dist-only orphan branch

main contains only 4070f70 dist: publish magus v7.3.0 (16 plugins) — no source, no tests, no .github/ directory. All CI runs on main will fail by definition. The source branch is fix/ci-type-errors-and-stale-test-date.


Current Fix Status

All three root-cause bugs are already fixed in PR #24 (fix/ci-24065489776-ts-and-datesfix/ci-type-errors-and-stale-test-date):

  • ✅ Removes 3 unused TS imports
  • ✅ Replaces stale hardcoded dates with dynamic TODAY/YESTERDAY/TWO_DAYS_AGO
  • ✅ Bumps browser-use version in marketplace.json to 1.1.2
  • ✅ Re-enables CI triggers on fix/ci-type-errors-and-stale-test-date
  • Latest CI run (24278705651, 2026-04-11T08:33): all 7 checks green

Recommended Actions

  1. Merge PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24 — all checks passing, all root causes addressed. This will restore green CI on the fix/ci-type-errors-and-stale-test-date source branch.

  2. Close PR fix(marketplace): bump browser-use version 1.1.1 → 1.1.2 in marketplace.json #28 (fix/ci-24276607217-browser-use-version) — the browser-use version fix it proposes is already included in PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24's latest commit. PR fix(marketplace): bump browser-use version 1.1.1 → 1.1.2 in marketplace.json #28 only has a GitGuardian check (the test workflows never ran on it), so it's safe to close as superseded.

  3. Close PRs fix(ci): remove unused TS imports + fix stale stats test dates #22 and fix(ci): resolve merge conflict — unused TS imports + stale stats test dates #23 — both are earlier attempts at the same fixes (TS imports + stale dates), now fully superseded by the more comprehensive PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24.

  4. Address the main branch structure — the CI workflow files (test-plugins.yml, test-stats.yml) trigger on branches: [main]. Since main is dist-only, those runs will always fail. Consider either:

    • Updating the branch trigger to the real source branch, OR
    • Documenting that main CI failures are expected/ignored (noisy false-positives)

What This Agent Cannot Do (Constraints)

  • No gh CLI available → cannot gh run rerun the failed runs
  • GitHub Actions REST API requires authentication for log downloads → cannot fetch raw failure logs
  • No workflow-run MCP tools → cannot list/view/rerun via API calls
  • Did not create new fix branches (all root causes already covered by existing PRs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions