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
Automated CI/CD maintenance scan of the 10 most-recent failed runs. All 10 failures are on fix branches (not main). They share 3 root causes, all of which are already fixed in PR #34 HEAD (3c64990).
Failed Runs
Run ID
Workflow
Branch
Commit
Failed Step
24307096245
Test Stats Plugin
fix/ci-all-fixes-final
84411b6
Run unit and integration tests
24307096246
Test Plugins
fix/ci-all-fixes-final
84411b6
Run integration tests (Node 22)
24307087724
Test Plugins
fix/ci-all-fixes-final
earlier
Run integration tests
24306967746
Test Plugins
fix/ci-all-fixes-final
earlier
Run integration tests
24306950584
Test Plugins
fix/ci-all-fixes-final
earlier
Run integration tests
24306895086
Test Stats Plugin
fix/ci-all-fixes-final
earlier
Run unit and integration tests
24306895101
Test Plugins
fix/ci-all-fixes-final
earlier
Run integration tests
24298790076
Test Stats Plugin
fix/ci-workflow-trigger-broadening
—
Run unit and integration tests
24298790072
Test Plugins
fix/ci-workflow-trigger-broadening
—
Run integration tests
24298782547
Test Stats Plugin
fix/ci-workflow-trigger-broadening
—
Run unit and integration tests
Root Causes
1. Stale hardcoded dates in plugins/stats/tests/integration.test.ts (ACTIVE — blocks base branch)
makeSession() in integration.test.ts defaults to date = "2026-03-26". Today is April 13, 2026 — that date is 18 days ago, which falls outside the 7-day and 14-day rolling windows used by getSessionSummary, getTopTools, and getDurationTrend. Those queries return 0 rows and the assertions fail.
Failing tests (confirmed locally on fix/ci-type-errors-and-stale-test-date HEAD):
(fail) Database: schema, CRUD, retention, queries > getSessionSummary returns correct averages and totals
(fail) Database: schema, CRUD, retention, queries > getTopTools returns tools ranked by call count
(fail) Database: schema, CRUD, retention, queries > getDurationTrend returns daily data in ASC date order
Fix (in PR #34): Add module-level TODAY, YESTERDAY, TWO_DAYS_AGO constants and update all time-windowed test cases to use them — same pattern already applied to db.test.ts in commit 84411b6.
2. browser-use version mismatch — marketplace.json vs plugin.json
At intermediate commits on fix/ci-all-fixes-final (before 3c64990), marketplace.json still listed browser-use at 1.1.1 while plugin.json was at 1.1.2. The marketplace-sync integration test catches this:
AssertionError: Plugin browser-use: version mismatch - plugin.json has 1.1.2, marketplace.json has 1.1.1
Status: Already fixed on fix/ci-type-errors-and-stale-test-date HEAD (browser-use is 1.1.2). Also fixed in PR #34's HEAD commit 3c64990.
Three imports that caused tsc --noEmit to fail (removeGitignoreEntries, vi, existsSync) are already removed on fix/ci-type-errors-and-stale-test-date. pnpm typecheck passes clean on that branch.
Merging either PR into fix/ci-type-errors-and-stale-test-date will bring the base branch to a fully-green state.
Cleanup Recommendation
There are currently 6+ open PRs (PRs #22, #23, #24, #28, #31, #32, #33, #34) all targeting the same set of failures. Most are now superseded. Recommend:
CI Failure Audit — April 13, 2026
Automated CI/CD maintenance scan of the 10 most-recent failed runs. All 10 failures are on fix branches (not
main). They share 3 root causes, all of which are already fixed in PR #34 HEAD (3c64990).Failed Runs
fix/ci-all-fixes-final84411b6fix/ci-all-fixes-final84411b6fix/ci-all-fixes-finalfix/ci-all-fixes-finalfix/ci-all-fixes-finalfix/ci-all-fixes-finalfix/ci-all-fixes-finalfix/ci-workflow-trigger-broadeningfix/ci-workflow-trigger-broadeningfix/ci-workflow-trigger-broadeningRoot Causes
1. Stale hardcoded dates in
plugins/stats/tests/integration.test.ts(ACTIVE — blocks base branch)makeSession()inintegration.test.tsdefaults todate = "2026-03-26". Today is April 13, 2026 — that date is 18 days ago, which falls outside the 7-day and 14-day rolling windows used bygetSessionSummary,getTopTools, andgetDurationTrend. Those queries return 0 rows and the assertions fail.Failing tests (confirmed locally on
fix/ci-type-errors-and-stale-test-dateHEAD):Fix (in PR #34): Add module-level
TODAY,YESTERDAY,TWO_DAYS_AGOconstants and update all time-windowed test cases to use them — same pattern already applied todb.test.tsin commit84411b6.2.
browser-useversion mismatch —marketplace.jsonvsplugin.jsonAt intermediate commits on
fix/ci-all-fixes-final(before3c64990),marketplace.jsonstill listedbrowser-useat1.1.1whileplugin.jsonwas at1.1.2. Themarketplace-syncintegration test catches this:Status: Already fixed on
fix/ci-type-errors-and-stale-test-dateHEAD (browser-use is1.1.2). Also fixed in PR #34's HEAD commit3c64990.3. Unused TypeScript imports (TS6133) — already fixed
Three imports that caused
tsc --noEmitto fail (removeGitignoreEntries,vi,existsSync) are already removed onfix/ci-type-errors-and-stale-test-date.pnpm typecheckpasses clean on that branch.Current Branch State
integration.test.tsfix/ci-type-errors-and-stale-test-date(base)fix/ci-all-fixes-finalHEAD3c64990fix/ci-consolidated(PR #33 HEAD)Recommended Action
The only remaining active failure is the stale dates in
integration.test.tson the base branchfix/ci-type-errors-and-stale-test-date.The fix is already in two PRs:
fix/ci-all-fixes-final) — specifically fixesintegration.test.ts+marketplace.jsonon top of all prior fixes. Tests pass at HEAD. This is the most targeted PR for the remaining issue.fix/ci-consolidated) — comprehensive consolidation of all fixes including trigger broadening.Merging either PR into
fix/ci-type-errors-and-stale-test-datewill bring the base branch to a fully-green state.Cleanup Recommendation
There are currently 6+ open PRs (PRs #22, #23, #24, #28, #31, #32, #33, #34) all targeting the same set of failures. Most are now superseded. Recommend:
not_planned/ supersededThis issue was created by the automated CI/CD maintenance agent after scanning the 10 most-recent failed workflow runs.