Skip to content

Merge main into the runtime epic (Planner import, audit bumps) - #3965

Merged
integry merged 8 commits into
3758-epic-runtime-abstraction-sc0from
merge-main-into-epic-2
Dec 1, 2026
Merged

integry merged 8 commits into
3758-epic-runtime-abstraction-sc0from
merge-main-into-epic-2

Conversation

@integry

@integry integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner

Brings main (#3957 Planner Studio plan import, cross-spawn/engine.io/React Router audit bumps) into the epic so #3774 is mergeable again.

Conflicts:

  • propr-ui/package.json, package-lock.json: took main's react-router-dom ^7.18.7 (audit fix).
  • docs/static/openapi/propr-api.yaml: regenerated with npm run gen:openapi (gen:openapi:check passes: 350 routes).

Root, core, UI and CLI tsc --noEmit are clean locally.

🤖 Generated with Claude Code

propr-dev[bot] and others added 8 commits December 1, 2026 09:39
Implemented by ProPR AI using gpt-6.2-sol model.

Implementation completed successfully.

ProPR-Agent: codex/gpt-6.2-sol
Fixed the **Project options (Node 24)** failure by adding `plan import` to the [CLI audit’s expected list](/home/node/workspace/packages/cli/src/projectOptions.cli.test.ts:65). The command already supported `--project`, which caused the audit to fail. [GitHub Actions failure](https://github.com/integry/propr/actions/runs/46618758165/job/142542794429)

All 27 tests from the CI check passed locally on Node 24 and Node 22.

PR: #3957
Comment by: @propr-dev[bot] (ID: 7307076190)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
Fixed the dependency audit that blocked the Linux ARM64 package check before packaging began. Updated `cross-spawn` to 7.1.2, `engine.io` to 6.6.13, and React Router to 7.18.7. [Failed CI job](https://github.com/integry/propr/actions/runs/46619980685/job/142547687679)

Both audits, a fresh `npm ci`, desktop and UI typechecks, and 50 focused tests passed. The unsigned Linux x64 package built and passed icon verification locally. Native ARM64 packaging still needs verification in GitHub Actions.

PR: #3957
Comment by: @propr-dev[bot] (ID: 7307248504)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
Fixed all nine lint warnings that caused **Validate Changes** to fail on PR #3957. The refactor preserves Planner Studio’s import behavior and the published API contract.

Verified locally that UI, core, and API lint pass with zero warnings. Builds, OpenAPI and client contract checks, focused regression tests, and the phone and desktop import smoke tests also passed.

PR: #3957
Comment by: @github-actions[bot] (ID: 7307701908)
Comment by: @propr-dev[bot] (ID: 7307702949)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
Fixed PR #3957’s browser smoke failure by moving the plan-source choices into the scrollable composer. At 880 × 620 with 200% text, the full model selector now scrolls into view while the repository header stays in place.

All 92 Planner Studio Chromium tests passed, including the failing check. The UI build, typecheck, targeted lint, and 97 focused unit tests also passed. Captured a preview at the failing viewport.

PR: #3957
Comment by: @github-actions[bot] (ID: 7308572362)
Comment by: @propr-dev[bot] (ID: 7308572673)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
Fixed the only failure in [Full Test Suite Shard 3/4](https://github.com/integry/propr/actions/runs/46631044822/job/142585345085). The CLI polling test now uses a controlled clock to verify that the second request starts at 1,000 ms and never earlier. The fix is test-only.

All 24 focused CLI tests and the CLI typecheck passed. The full shard was not rerun.

PR: #3957
Comment by: @propr-dev[bot] (ID: 7309511132)
Model: GPT-6.2 Sol

ProPR-Agent: codex/gpt-6.2-sol
…-import-exi-20261201-0911-l36

✅❽ [3954 by GPT-6.2 Sol] Planner Studio: "Import existing plan" from pasted text or uploaded files, converted at best effort without matching against the code
…ort, audit bumps)

Takes main's react-router-dom 7.18.7 audit bump and regenerates the OpenAPI spec.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner Author

/review

@propr-dev

propr-dev Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

✅ AI Code Review Complete requested by @integry

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

This PR integrates main’s plan-import functionality and dependency updates into the epic. The implementation is substantial but consistent with that integration objective. It needs a localized correction before merge.

✅ Import isolation — Import generation skips repository setup, passes empty GitHub credentials, and explicitly requests repositoryAccess: 'none'.

✅ Source preservation — Import uploads reject oversized text instead of silently truncating it, and import prompt persistence preserves whitespace.

✅ Lifecycle coverage — Added tests cover attachment-only imports, sparse publication, dependency validation, and transition to Review.

This is a static review of the supplied code; no commands or tests were run. Current checks report no failures, with 19 still pending.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Repository changes discard attachment-only import input

  • Category: correctness

  • Required behavior: Changing an import draft’s target repository must preserve the source needed to perform the import.

  • Evidence: propr-ui/src/components/TaskPlanner/SetupWizard.tsx, createDraftForRepoChange

    1. Create an attachment-only import, then return to setup—for example, after conversion fails and the user wants to select a different repository.
    2. The existing-draft repository control invokes createDraftForRepoChange.
    3. The changed helper creates an import draft using config.prompt, which is empty for this supported workflow, and persists only the setup snapshot.
    4. It navigates to the new draft without transferring the original attachments. The new draft therefore has neither pasted text nor attached source, and its Import action is disabled.

    The original attachment remains on the previous draft, but the user must recover and reattach it to continue. getDraftSetupSnapshot carries only mode, branch, and model for imports; neither draft creation nor the subsequent persistence call transfers files. The new-mode upload mechanism does not handle this existing-draft repository-change path.

    static trace: Traced the changed repository-change helper, import setup snapshot, and attachment-dependent generation enablement. The supplied end-to-end tests exercise initial creation, not repository changes after creation.

  • Minimum fix: Transfer the import’s text attachments to the replacement draft before navigating, preserving their order. Add a regression covering a repository change from an attachment-only import draft.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Exercise sparse MCP edits

The publication path now explicitly accepts empty imported bodies and implementations, while update_plan still uses the shared planTask schema. Add a round-trip test that reads a sparse imported plan and updates its title through MCP without filling missing source details. This is optional verification: the supplied context does not include textSchema’s definition, so rejection by that schema is not established here.

Score

The import path has useful isolation and lifecycle coverage, but switching repositories leaves a supported attachment-only workflow without its source. Pending checks should also complete before merging.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 3m 15s
  • Tokens: 98,553 (97,170 in / 1,383 out)
  • Cost: $0.93

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F1 S1

🤖 Review by ProPR

@integry
integry merged commit 4510271 into 3758-epic-runtime-abstraction-sc0 Dec 1, 2026
47 checks passed
@integry
integry deleted the merge-main-into-epic-2 branch December 1, 2026 13:17
@integry

integry commented Dec 1, 2026

Copy link
Copy Markdown
Owner Author

F1 is in Planner import code from main (#3957), not in this merge; it's tracked as #3966 against main.

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