Skip to content

Add isolated Auth Dev deployment and PR previews - #1103

Merged
AnthonyRonning merged 2 commits into
masterfrom
codex/auth-dev-foundation
Oct 8, 2026
Merged

AnthonyRonning merged 2 commits into
masterfrom
codex/auth-dev-foundation

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Auth needs its own Dev deployment and previews before production adoption. Add a fixed Dev profile and reuse the existing Auth CI job to test, build and publish relevant changes independently of client releases.

Source Auth deployment
Relevant master push Automatically publish the successful Dev build to auth-dev.maple.ai
Relevant internal PR, including a stacked PR Publish a Dev-configured preview on the maple-auth-dev Pages project and update its Auth-specific PR link
Production Auth Keep separate, manually dispatched build and publication workflows for auth.maple.ai

Path filters cover Auth and its build/publisher inputs. Forks get unprivileged CI without hosted previews. The Dev producer is the existing Auth CI job, avoiding a duplicate build lane. The protected publisher executes trusted master tooling, validates the exact source/run/artifact/target, and treats the uploaded static bundle as untrusted data. Dev publication moves forward even if an unrelated master merge lands during its build; a late older build cannot overwrite a newer published revision. Production keeps its exact-current-master requirement.

The compiled profile fixes backend, public project ID, PCR trust and native identity. Production preserves the existing Research handoff format; the next stacked PR adds Dev native consumers. Research, Agent, SDKs and backend implementation are unchanged here. Auth preview status/comments are separate from Research previews.

Initial Pages/domain/credential setup and the existing MAPLE_AUTH_PAGES_DEVELOPMENT_ENABLED=true activation are still required. Once configured, Dev needs no manual trigger; optional master dispatch remains for recovery. Production uses its independent activation and explicit dispatches, never client release events. This PR does not change live settings or traffic. PR preview URLs do not gain provider/backend callback registrations; real OAuth rehearsal uses stable auth-dev.maple.ai.

Validation: 148 Pages tests passed, including automatic Dev, stacked previews, target/provenance rejection, publication ordering and Research compatibility. Workflow lint passed and independent source review found no blockers. The complete local Nix flake check was interrupted by VM disk exhaustion while restoring tools; hosted CI must complete it. The earlier Auth app checks and both profile builds passed; this follow-up changes publication code/workflows and documentation, not Auth runtime code.

@AnthonyRonning AnthonyRonning changed the title codex/auth dev foundation Add isolated Auth Dev build and manual Pages publisher Oct 8, 2026
@github-actions

github-actions Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Maple development preview: https://4627cfc7.maple-ca8.pages.dev

Commit: 670e951085700238f7ab16f7802ac5dbcce2eaa2

Uses development API, billing, flags and PCR configuration. Cloudflare Access applies.

@AnthonyRonning AnthonyRonning changed the title Add isolated Auth Dev build and manual Pages publisher Add isolated Auth Dev deployment and PR previews Oct 8, 2026
@AnthonyRonning
AnthonyRonning merged commit dcbaed7 into master Oct 8, 2026
50 checks passed

This branch was successfully deployed

1 active deployment
pages-pr-1103 — 670e9510 Deployed Oct 8, 2026 by github-actions[bot]
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