Skip to content

fix: accept enclave grants on consent return - #2

Merged
Kahtaf merged 1 commit into
feat/enclave-jobs-readfrom
feat/enclave-return-without-url
Sep 8, 2026
Merged

fix: accept enclave grants on consent return#2
Kahtaf merged 1 commit into
feat/enclave-jobs-readfrom
feat/enclave-return-without-url

Conversation

@Kahtaf

@Kahtaf Kahtaf commented Sep 8, 2026

Copy link
Copy Markdown
Member

A URL-less enclave grant reached ready_for_read, but the consent return page reported “Status unavailable” because its readiness check still required a Personal Server URL.

Make the default readiness check use the same enclave-routing decision as the status and read routes. Direct delivery and explicit URL requirements remain enforced, along with approved-state and grant-presence checks.

Stacked on #1 at ff49c73. Validation: focused regression failed with DIRECT_ACCESS_NOT_APPROVED before the fix; all 39 tests and production build passed; independent Codex review found no actionable defects. Live Preview reproduction confirmed the failure before the change. The deployed return URL for the original approved grant now reports “Your data is ready.”

Live E2E passed on commit bb2b8d912f87fd74896b2bd7764637bec874f5b4, deployment dpl_2jisRLMWjft5k8NzQ6UBuXc6NZAa at the enclave Preview. Defaults are explicitly dev/Moksha, with the existing Friday spike gateway and Web Preview aliases.

Final Spotify-only DCR dcr_bdd21113543540a08bc348868edc6546 reached completion HTTP 200, this deployment's read HTTP 200, and acknowledgement HTTP 200. Job 8f6d4dea-a27d-436e-abb6-43a893538993 completed on spike-b3-f1, attempt 1, chain 14800, in 6.198 seconds; encrypted request/result present, result ciphertext 577 bytes. The originating browser rendered “A first page, written,” and the consent tab returned “Your page is ready.”

The integration uses Web PR #1029 plus its archived Friday-only gateway config patch, which is outside that PR. No Account/Gateway redeployment, CVM restart, production change or merge was performed. No private portrait content is included here.

Folded by fast-forward into #1’s head branch feat/enclave-jobs-read at tested commit bb2b8d912f87fd74896b2bd7764637bec874f5b4 on 2026-09-08 17:46:38 UTC. #1 remains open; main was not merged.

@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
lorebook Ready Ready Preview Sep 8, 2026 5:34pm UTC

Request Review

@Kahtaf
Kahtaf marked this pull request as ready for review September 8, 2026 17:46
@Kahtaf
Kahtaf merged commit bb2b8d9 into feat/enclave-jobs-read Sep 8, 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