Skip to content

refactor: remove duplicate runtime logic and test scaffolding - #9939

Closed
maria-rcks wants to merge 3 commits into
pingdotgg:mainfrom
maria-rcks:t3code/codebase-complexity-cleanup
Closed

maria-rcks wants to merge 3 commits into
pingdotgg:mainfrom
maria-rcks:t3code/codebase-complexity-cleanup

Conversation

@maria-rcks

@maria-rcks maria-rcks commented Sep 5, 2026 •

Copy link
Copy Markdown
Collaborator

Repeated activity parsers, orchestration event construction, SQL projections, IPC types, and test setup made equivalent behavior expensive to maintain. This cleanup removes 3,420 net lines across 51 files by sharing existing logic, deriving types from schemas, consolidating fixtures and table-driven cases, and deleting unused helpers while preserving platform-specific behavior.

Validation: 1,124 unique tests across 34 existing suites passed, along with nine affected workspace typechecks and changed-file formatting/lint (19 existing warnings). All 7,776 compared dev environment combinations matched; the upstream checkpoint conflict was resolved preserving its new interrupted-turn coverage, and all 35 reducer tests passed afterward. Real-app checks covered project-source labels, GitHub input, Git URL destination confirmation/cancel, and a draft thread in light/dark themes; native clients and live provider turns were not manually exercised.

Draft requested by Maria. Keep DO NOT MERGE. GitHub CI passed Check, Test, all three server shards, Rust, Release Smoke, and native fingerprint checks; the Effect Service Conventions bot remains queued. Two independent available-runtime reviewers found no correctness regressions on ab406db; the green-pr skill's required gpt-6-astra reviewers are unavailable, so formal readiness certification remains blocked. The sole SQL review finding was checked against both commits, disproved by the qualified query and 22 passing projection tests, and resolved.

project source options in dark mode

project source options in light mode

clone source selection, destination confirmation, and cancel

Model: gpt-5.6-sol. Harness: Codex.

@maria-rcks maria-rcks added the DO NOT MERGE Experimental pull request. Do not merge. label Sep 5, 2026
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Sep 5, 2026
@github-actions github-actions Bot added size:XXL 1,000+ changed lines (additions + deletions). and removed size:L 100-499 changed lines (additions + deletions). labels Sep 5, 2026
Comment thread apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts
@maria-rcks maria-rcks changed the title refactor: reduce redundant tests and helper logic refactor: remove duplicate runtime logic and test scaffolding Sep 5, 2026
@maria-rcks maria-rcks closed this Sep 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DO NOT MERGE Experimental pull request. Do not merge. size:XXL 1,000+ changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant