Skip to content

Fix form parsing, browser exports, and test coverage - #121

Merged
maxatwork merged 3 commits into
masterfrom
codex/audit-code-and-tests
Oct 25, 2026
Merged

maxatwork merged 3 commits into
masterfrom
codex/audit-code-and-tests

Conversation

@maxatwork

@maxatwork maxatwork commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Keep distinct indexed paths such as a.b.c[0].x and ab.c[0].y isolated, honor custom delimiters and deeply nested arrays when filling forms, and point standalone browser exports at the emitted bundles. Exclude nested worktrees from integration test discovery.

Use linear bracket scanning on malformed names and simplify adapter forwarding. Remove redundant flattening copies, unused themes, and unused result panels. Remove manual dependency/version assertions and replace source-text assertions with rendered browser checks. Add regressions that execute the published standalone bundles, fix the mobile divider, and make Playwright own a fresh foreground preview. Include a patch changeset for the fixed package group.

Validation:

  • 126 package/docs unit tests, 11 integration tests, and 6 Chromium browser checks passed locally and in CI.
  • Lint, type checks, package/docs builds, and all six package dry runs passed.
  • Compared 19,531 generated names against the preceding implementation, allowing the intended nested-array separator correction.
  • Malformed names with 100,000–200,000 brackets finish in a few milliseconds locally, with regression tests using a generous one-second budget.
  • CodeQL passes, and the diff whitespace check is clean.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-25T06:50:46.193790Z a87d2b4 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Comment thread packages/core/src/index.ts Fixed
Comment thread packages/js2form/src/index.ts Fixed

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 29 files

Tip: Get a Slack DM when cubic finishes reviewing your PRs. Connect Slack

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread test/integration/standalone.test.ts
Comment thread packages/core/src/index.ts Outdated
Comment thread packages/js2form/src/index.ts Outdated
Comment thread packages/js2form/src/index.ts Outdated

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: a87d2b4b77

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Path-derived keys were rebuilt and stored for every indexed segment, so
deeply nested indexes took quadratic time and memory and could exhaust
the heap on a single long field name. Key each index map by the array it
belongs to instead, which keeps MergeContext's public shape unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@maxatwork
maxatwork merged commit 6bd77e5 into master Oct 25, 2026
6 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.

2 participants