Repository navigation
fix(desktop): restore AutoCreatedTasksStep deleted by dead-module cleanup (#12891) - #12892
Merged
kodjima33 merged 2 commits intoSep 6, 2026
Merged
Conversation
…anup (#12891) desktop/windows/src/renderer/src/pages/Onboarding.tsx still imports and renders AutoCreatedTasksStep (step 14, wired in #12229), but 5701283 ("remove retired agent-runtime residue and dead-module clusters") deleted the component and its test, misclassifying it as dead. Any build or typecheck of desktop/windows on main has been broken since (`npm run build` runs `typecheck` first, so `build`/`build:win`/`build:linux`/`build:unpack` all fail before bundling), confirmed by PR #12878 hitting TS2307 when it touched that tree. Restore both files verbatim from 5701283^ (the last commit where they existed and matched Onboarding.tsx's usage).
…ference Companion to the fix in this branch: 5701283 deleted AutoCreatedTasksStep.tsx as "dead" while Onboarding.tsx still imported and rendered it, breaking desktop/windows typecheck and every build variant. No existing failure-class definition covers a cleanup's reachability scan missing a live reference, so this registers a new one per pr-preflight's failure-class-protocol.
kodjima33
deleted the
watchdog/issue-12891-restore-autocreatedtasksstep
branch
September 6, 2026 23:06
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
desktop/windows/src/renderer/src/pages/Onboarding.tsx(line 266) still imports and rendersAutoCreatedTasksStepas onboarding step 14 (wired in #12229), but commit5701283697("chore(desktop): remove retired agent-runtime residue and dead-module clusters") deleted the component and its test, misclassifying it as dead code — its reachability check missed this reference.Since
5701283697landed on main,desktop/windows'spnpm typecheckfails withTS2307: Cannot find module '../components/onboarding/AutoCreatedTasksStep', and becausenpm run buildrunstypecheckfirst, every build variant (build:win/build:linux/build:unpack) is broken too — confirmed live when PR #12878 touched that tree (see #12891).Fix
Restore
AutoCreatedTasksStep.tsxandAutoCreatedTasksStep.test.tsxverbatim from5701283697^(the last commit where both existed and matchedOnboarding.tsx's usage). No other changes.Tested
pnpm typecheck(node@22): clean — theTS2307error is gone.pnpm test(node@22, vitest): full suite green, 555 files / 5532 tests passed (29 skipped, pre-existing), including the restoredAutoCreatedTasksStep.test.tsx(1/1).pnpm lint: 0 errors (710 pre-existing prettier warnings, unrelated to this diff).Closes #12891.
Also registers
.github/failure-classes/FC-reachability-cleanup-deletes-live-reference.json— no existing class covered "a dead-code cleanup's reachability scan missed a live import," and this is that class's first instance (evidence_prs: []per the protocol's own guidance: the fixing PR is the evidence, since its number doesn't exist yet when the file is written).Failure class (fixes)
Failure-Class: new
🤖 automated by hourly watchdog — tested and merged