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 generated by the CI maintenance agent after auditing the 10 most recent failed workflow runs.
Current failure state
All 10 recent failures (Test Plugins and Test Stats Plugin) share the same two root causes:
1. Stale hardcoded test dates in plugins/stats/tests/
Both db.test.ts and integration.test.ts on the fix/ci-type-errors-and-stale-test-date source branch contain hardcoded dates like "2026-03-26" in the makeSession / makeSessionRow helpers. As of today (Apr 11) these are 16+ days in the past, which puts them outside the 7-day and 14-day query windows used by:
getSessionSummary(db, 7, …)
getTopTools(db, 7, …)
getDurationTrend(db, 14, …)
Those calls return zero rows and the corresponding expect(…).toBe(2) assertions fail.
main is an orphan dist-only branch (contains only .claude-plugin/, plugins/, shared/, skills/). The actual source code and CI workflows live on fix/ci-type-errors-and-stale-test-date. Failures logged against main (runs 24065489776, 24063290384, 24029844275, etc.) occurred before the branch was converted to orphan and are no longer actionable.
CI Maintenance Summary — 2026-04-11
This issue was generated by the CI maintenance agent after auditing the 10 most recent failed workflow runs.
Current failure state
All 10 recent failures (
Test PluginsandTest Stats Plugin) share the same two root causes:1. Stale hardcoded test dates in
plugins/stats/tests/Both
db.test.tsandintegration.test.tson thefix/ci-type-errors-and-stale-test-datesource branch contain hardcoded dates like"2026-03-26"in themakeSession/makeSessionRowhelpers. As of today (Apr 11) these are 16+ days in the past, which puts them outside the 7-day and 14-day query windows used by:getSessionSummary(db, 7, …)getTopTools(db, 7, …)getDurationTrend(db, 14, …)Those calls return zero rows and the corresponding
expect(…).toBe(2)assertions fail.Affected runs:
24276583408,24040412326,24040412328,24029941408,240299414142. TypeScript
noUnusedLocalserrors (TS6133 / TS6196)Three imports left behind after refactors:
conventions-integration.test.ts:removeGitignoreEntriesdoctor.test.ts:viconventions-manager.ts:existsSynctsc --noEmitexits non-zero → "Run type check" step fails.Affected runs:
24065489776,24063290384,24276582786,24276607217What is already fixed
PR #24 (
fix/ci-24065489776-ts-and-dates→fix/ci-type-errors-and-stale-test-date) is fully green as of run24278705651(Apr 11, 08:33 UTC):PR #24 fixes:
"2026-03-26"dates with dynamicTODAY/YESTERDAY/TWO_DAYS_AGOconstants in both test filesbrowser-useversion inmarketplace.jsonfrom1.1.1→1.1.2fix/ci-type-errors-and-stale-test-datemergeable_state: "clean"— no conflicts, safe to merge.Recommended actions
Merge PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24 — this is the single action needed to restore green CI on the source branch.
Close superseded PRs (all target the same issues as PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24):
fix/ci-typescript-and-stats-dates)fix/ci-typescript-and-stats-dates-resolved)fix/ci-24276607217-browser-use-version) — its single change (browser-use 1.1.1 → 1.1.2) is already included in PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24Clean up stale fix branches — the repository has accumulated 50+
fix/ci-*branches from previous CI maintenance agent runs. Once PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24 is merged and CI is green, these branches can be safely deleted.Note on
mainbranchmainis an orphan dist-only branch (contains only.claude-plugin/,plugins/,shared/,skills/). The actual source code and CI workflows live onfix/ci-type-errors-and-stale-test-date. Failures logged againstmain(runs24065489776,24063290384,24029844275, etc.) occurred before the branch was converted to orphan and are no longer actionable.