fix(ci): resolve merge conflict — unused TS imports + stale stats test dates#23
Open
erudenko wants to merge 5 commits intofix/ci-type-errors-and-stale-test-datefrom
Open
Conversation
…h detection Board auto-opens in a tmux split pane when tmux is available, giving the display tool a real TTY with proper terminal dimensions. Any keypress closes the pane. Falls back to inline rendering when not in tmux. Replace the 3-step termW() fallback (stdout/COLUMNS/80) with a 5-step detection chain: stdout.columns → $COLUMNS → tmux pane_width → parent TTY via stty → 120 default. Remove the --width flag and Object.defineProperty monkey-patch hack. Closes #10 Co-Authored-By: Magus <magus@madappgang.com> Crafted with agentic harness Magus (https://github.com/MadAppGang/magus)
…HAs to 4bac22c The release script syncs tools/table/index.ts into plugin lib/ dirs. The termW() improvements must live in the shared source to survive syncs. Co-Authored-By: Magus <magus@madappgang.com> Crafted with agentic harness Magus (https://github.com/MadAppGang/magus)
Co-Authored-By: Magus <magus@madappgang.com> Crafted with agentic harness Magus (https://github.com/MadAppGang/magus)
TypeScript type check (tsc --noEmit) fails on main with four TS6133/TS6196 errors — unused imports that were left behind after refactors: • conventions-integration.test.ts: removeGitignoreEntries (never called) • doctor.test.ts: vi (never used) • conventions-manager.ts: existsSync (never used after refactor) • doctor.ts: InstalledPluginEntry type (parameter removed) Stats tests (db.test.ts, integration.test.ts) were using the hardcoded date "2026-03-26" which has drifted outside the 7/14-day query windows, causing getSessionSummary, getTopTools and getDurationTrend tests to return zero results and fail assertions. Fix: replace hardcoded dates with dynamic TODAY/YESTERDAY/TWO_DAYS_AGO constants so the tests stay green regardless of when CI runs. Fixes CI runs: 24065489776, 24063290384, 24029941408, 24029941414 https://claude.ai/code/session_01Vc3jfA2et2zDDpenc4EcrW
Both sides dynamically compute today's date; keep the HEAD version that reuses the module-level TODAY constant rather than re-declaring inline. https://claude.ai/code/session_01WD9RM5hfssu3RoasScyZXw
This was referenced Apr 10, 2026
Member
Author
|
Superseded by PR #24 which contains the same code fixes (unused TS imports + stale test dates) plus the missing CI workflow trigger fix. PR #24 is the recommended PR to merge — it's a minimal, focused diff with no extra feature commits. CI is now unblocked on PR #24: the workflow triggers on Generated by Claude Code |
erudenko
added a commit
that referenced
this pull request
Apr 12, 2026
The push and pull_request triggers were locked to `main` and `fix/ci-type-errors-and-stale-test-date`. Any new fix branch was invisible to CI — exactly the pattern seen in PRs #22, #23, #28, #31 where only GitGuardian ran, not the actual test suite. Remove the `branches` list entirely so CI fires on any branch/PR that touches the relevant paths. Path filters still limit noise to changes that actually affect plugins, claudeup-core, or the marketplace config.
This was referenced Apr 12, 2026
Open
Open
Open
This was referenced Apr 30, 2026
CI maintenance: 3 failing runs on PR #32 — fixes ready in PRs #33 and #34, recommend merge plan
#117
Open
Open
Open
ci: PR backlog blocking landing of all CI fixes — action required to merge/close stale branches
#137
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Supersedes #22 (same fixes, conflict-free). Fixes CI runs 24065489776, 24063290384, 24029941408, 24029941414.
PR #22 (
fix/ci-typescript-and-stats-dates→fix/ci-type-errors-and-stale-test-date) was blocked by a merge conflict inplugins/stats/tests/db.test.ts. Both sides dynamically compute today's date, but:const today = new Date().toISOString().slice(0, 10);TODAYconstantResolution: keep
TODAY(the head version) — it avoids a redundant local declaration.Root causes fixed
TypeScript unused imports (TS6133/TS6196) — four unused imports in
tools/claudeup-corecausedtsc --noEmitto fail undernoUnusedLocals:conventions-integration.test.ts:removeGitignoreEntriesdoctor.test.ts:viconventions-manager.ts:existsSyncdoctor.ts:InstalledPluginEntrytypeStale hardcoded test dates —
plugins/statstests used"2026-03-26"which had drifted outside the 7/14-day query windows, causinggetSessionSummary,getTopTools, andgetDurationTrendto return zero results. Fixed by using dynamicTODAY/YESTERDAY/TWO_DAYS_AGOconstants.Commits included (from #22 + conflict resolution)
feat(kanban): v1.3.0 — tmux split pane rendering, smart terminal width detectionchore(marketplace): update shared table.ts with smart termW(), sync SHAschore(marketplace): update plugin SHAs to 6053b7d3fix(ci): remove unused TS imports; fix stale dates in stats testsmerge: resolve conflict with fix/ci-type-errors-and-stale-test-datehttps://claude.ai/code/session_01WD9RM5hfssu3RoasScyZXw