Skip to content

[leas code] Remove superseded GitHub background creation - #13479

Merged
nwparker merged 1 commit into
stablyai:mainfrom
nwparker:nwparker/leas-code-dead-github-background-create
Aug 11, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
nwparker:nwparker/leas-code-dead-github-background-create

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Summary

  • remove the old GitHub work-item background-create path after TaskPage moved to the workspace composer
  • remove its exclusive request builder and self-only test suite
  • retain the replacement boundary test that forbids TaskPage from returning to the old path
  • delete 1,517 lines with no runtime behavior change

Screenshots

No visual change.

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • Added or updated high-quality tests that would catch regressions, or explained why tests were not needed

Focused verification:

  • workspace composer boundary, composer state, composer card, and worktree creation suites: 99 tests passed
  • pnpm check:code-quality:changed
  • pnpm lint:react-doctor:changed
  • pnpm check:max-lines-ratchet
  • git diff --check

No replacement tests were needed: PR #12653 added task-page-workspace-composer-boundary.test.ts, which positively verifies the new composer path and negatively asserts that TaskPage neither imports nor calls the removed background path.

AI Review Report

Reviewed exact and dynamic references, the superseding #12653 diff, TaskPage action routing, composer context propagation, PR start-point and issue-automation handling, ProjectViewWrapper's separate direct-launch path, exclusive dependencies, translations, shared types, and tests. No findings remain. The exact dead island is three files; direct-preflight, shared creation types, wire fields, and the replacement boundary test stay intact.

Cross-platform review covered macOS, Linux, Windows, SSH, and folder workspaces. The composer replacement retains host-aware repo selection and SSH/folder context; this deletion changes no shortcuts, labels, paths, shell behavior, Git commands, Electron behavior, or remote-wire contracts.

Security Audit

Dead-code deletion only. Live hook confirmation, issue-command trust, host compatibility, repository selection, path validation, and worktree creation remain in the composer/direct-launch paths. It adds no command execution, path handling, authentication, secrets, dependencies, persistence, IPC, or wire behavior. No security follow-up is needed.

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 46cefbb1-f0a3-4dd3-a9d5-d03663f0b959

📥 Commits

Reviewing files that changed from the base of the PR and between d9e84d8 and a75fca1.

📒 Files selected for processing (3)
  • src/renderer/src/lib/github-work-item-background-create.test.ts
  • src/renderer/src/lib/github-work-item-background-create.ts
  • src/renderer/src/lib/github-work-item-background-request.ts
💤 Files with no reviewable changes (3)
  • src/renderer/src/lib/github-work-item-background-create.ts
  • src/renderer/src/lib/github-work-item-background-create.test.ts
  • src/renderer/src/lib/github-work-item-background-request.ts

📝 Walkthrough

Walkthrough

The pull request deletes the background GitHub work-item workspace creation module, its request-planning module, and the related test file. It removes duplicate detection, host checks, setup and pull request preflight handling, trust-gated issue-command loading, agent and startup planning, fallback behavior, error handling, request construction, and associated test coverage.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: removing the superseded GitHub background creation path.
Description check ✅ Passed The description covers the summary, visual impact, testing, AI review, and security audit; only the optional Notes section is missing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit bb6f0c1 into stablyai:main Aug 11, 2026
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant