You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was created by the CI maintenance agent after investigating recent failing GitHub Actions runs via the GitHub API (the gh CLI was not available in the execution environment).
All three failures are on PR #32's head commit (6f38db6), triggered on 2026-04-12.
Root Cause Analysis
PR #32 (fix/ci-workflow-trigger-broadening) correctly removed the hardcoded branches allowlist from test-plugins.yml and test-stats.yml, which caused CI to finally run on fix branches. However, it was stacked on top of fix/ci-type-errors-and-stale-test-datewithout the code-level fixes, so when CI ran, it immediately hit the underlying code failures:
Failure 1 — test (20) in run 24298790072 (Test Plugins)
Cause:tsc --noEmit fails under noUnusedLocals — three stale imports left after refactors:
Failures 2 & 3 — test in runs 24298790076 / 24298782547 (Test Stats Plugin)
Cause:plugins/stats/tests/db.test.ts and integration.test.ts used the hardcoded date "2026-03-26", which is now well outside the 7-day and 14-day rolling query windows used by getSessionSummary, getTopTools, and getDurationTrend. Those tests assert length > 0 / specific counts and return zero rows.
Fix Status — Already Implemented
The fixes for all three failures already exist in open PRs with fully green CI:
The main branch in this repo is a distribution-only orphan branch — it holds only the compiled/published artefacts and has no workflow YAML files. CI (test-plugins.yml, test-stats.yml) cannot and does not run against main. Source code and CI workflows live on fix/ci-type-errors-and-stale-test-date and its descendants. PR #31 (which targets main) will never get test CI coverage for this reason.
Generated by CI maintenance agent — no new fix branches were created because the fixes already exist in PR #33 with green CI.
CI Maintenance Report — 2026-05-02
This issue was created by the CI maintenance agent after investigating recent failing GitHub Actions runs via the GitHub API (the
ghCLI was not available in the execution environment).Failing Runs Found
fix/ci-workflow-trigger-broadening(PR #32)test (20)fix/ci-workflow-trigger-broadening(PR #32)test(stats)fix/ci-workflow-trigger-broadening(PR #32)test(stats)All three failures are on PR #32's head commit (
6f38db6), triggered on 2026-04-12.Root Cause Analysis
PR #32 (
fix/ci-workflow-trigger-broadening) correctly removed the hardcodedbranchesallowlist fromtest-plugins.ymlandtest-stats.yml, which caused CI to finally run on fix branches. However, it was stacked on top offix/ci-type-errors-and-stale-test-datewithout the code-level fixes, so when CI ran, it immediately hit the underlying code failures:Failure 1 —
test (20)in run 24298790072 (Test Plugins)tsc --noEmitfails undernoUnusedLocals— three stale imports left after refactors:tools/claudeup-core/src/__tests__/integration/conventions-integration.test.ts:removeGitignoreEntriestools/claudeup-core/src/__tests__/unit/doctor.test.ts:vitools/claudeup-core/src/services/conventions-manager.ts:existsSyncFailures 2 & 3 —
testin runs 24298790076 / 24298782547 (Test Stats Plugin)plugins/stats/tests/db.test.tsandintegration.test.tsused the hardcoded date"2026-03-26", which is now well outside the 7-day and 14-day rolling query windows used bygetSessionSummary,getTopTools, andgetDurationTrend. Those tests assertlength > 0/ specific counts and return zero rows.Fix Status — Already Implemented
The fixes for all three failures already exist in open PRs with fully green CI:
fix/ci-consolidatedfix/ci-24065489776-ts-and-datesfix/ci-all-fixes-finalPR #33 is the recommended merge target. It is a superset of PR #32 (trigger broadening) and PR #24 (all code fixes), with every check green.
Recommended Merge Path
fix/ci-consolidated→fix/ci-type-errors-and-stale-test-date) — this resolves all three failing runs and all root causes.fix/ci-typescript-and-stats-dates) — partial fix, supersededfix/ci-typescript-and-stats-dates-resolved) — conflict-resolved partial, supersededfix/ci-24276607217-browser-use-version) — browser-use only, supersededfix/ci-main-browser-use-version) — targets dist-onlymain, CI can never run therefix/ci-workflow-trigger-broadening) — trigger fix only, superseded by fix(ci): consolidated — TS imports, stale dates, browser-use version, unrestricted triggers #33fix/ci-all-fixes-final) — duplicate of fix(ci): consolidated — TS imports, stale dates, browser-use version, unrestricted triggers #33 on a different branchNote on
mainBranchThe
mainbranch in this repo is a distribution-only orphan branch — it holds only the compiled/published artefacts and has no workflow YAML files. CI (test-plugins.yml, test-stats.yml) cannot and does not run againstmain. Source code and CI workflows live onfix/ci-type-errors-and-stale-test-dateand its descendants. PR #31 (which targetsmain) will never get test CI coverage for this reason.Generated by CI maintenance agent — no new fix branches were created because the fixes already exist in PR #33 with green CI.