Skip to content

Split API backend and static React frontend with enforced public contracts - #206

Merged
exe-dev-github-integration[bot] merged 16 commits into
mainfrom
gen-2157-auth-contracts
Oct 9, 2026
Merged

exe-dev-github-integration[bot] merged 16 commits into
mainfrom
gen-2157-auth-contracts

Conversation

@asselstine

@asselstine asselstine commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

GEN-2157 replaces the server-generated application UI with a static React/Vite/Tailwind app using TanStack Router and Query. The existing Worker now lives in packages/api; packages/app consumes only the OpenAPI-generated public client. CI enforces package boundaries and contract/client drift. Worker identity, bindings, migration history, URLs and compatible REST/MCP operations are preserved.

The migration includes feature-based job editing/provider configuration and stale-edit reconciliation; bounded summaries/selectors with batched statistics; paginated history, lightweight run status and revision-bound virtualized live traces; integrations, API keys and authorized clients; native authentication and static OAuth consent/device screens. Legacy backend UI generation and committed CSS are retired.

This is the canonical PR for the complete migration. It includes every commit from foundation PR #205. gen-2157-api-rollout-anchor (ff4b51b) is an earlier additive-API/legacy-UI checkpoint retained for rollback, not a newer implementation. Merge with history preserved: the deployment and rollback checks reference historical commits.

Production is already running the static migration: successful deployment. Brendan subsequently reported on GEN-2157: “I have checked app.factorize.sh and everything seems to work.” This is owner-reported general production acceptance, not an itemized automated provider/OAuth/device result. The release documentation now records it alongside the historical evidence.

Validation: implementation-head CI passed full root checks and the compiled React/Worker/PostgreSQL flow. Final documentation follow-up passed public production routing/security/cache verification, hosting/retention tests, all 11 boundary tests, generated-client checks, documentation/OpenAPI validation and four API contract tests. The final commit changes release evidence and documentation only; final-head CI also passed, including full root checks and the compiled React/Worker/PostgreSQL flow.

Performance measurements, rollout, retained assets and rollback instructions are in docs/package-migration.md and packages/api/performance/.

@linear

linear Bot commented Oct 9, 2026

Copy link
Copy Markdown

GEN-2157

@asselstine asselstine changed the title GEN-2157: add public native-auth contracts and static auth screens GEN-2157: migrate public auth and first static jobs/run slice Oct 9, 2026
@asselstine asselstine changed the title GEN-2157: migrate public auth and first static jobs/run slice Split API backend and static React frontend with enforced public contracts Oct 9, 2026
@exe-dev-github-integration
exe-dev-github-integration Bot marked this pull request as ready for review October 9, 2026 21:49
@exe-dev-github-integration
exe-dev-github-integration Bot added this pull request to the merge queue Oct 9, 2026
Merged via the queue into main with commit 1cb6047 Oct 9, 2026
1 check 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