Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
55e8a21
docs: add Stack Auth → Hexclave rebrand plan
BilalG1 May 21, 2026
0bef15f
docs: cover query params, storage keys, custom events, and dev tool i…
BilalG1 May 22, 2026
1843a37
docs: v7 — internal-only renames, env var dual-read, 3-PR rollout
BilalG1 May 22, 2026
a1d043b
docs: fold PR 1 discovery findings into the plan
BilalG1 May 22, 2026
8b7ccfc
docs: correct x-stack-auth legacy header — SDK-internal, not backend
BilalG1 May 22, 2026
e60550a
feat(hexclave): add Hexclave* SDK export aliases
BilalG1 May 22, 2026
fc781de
feat(hexclave): JWT validator accepts both stack-auth.com and hexclav…
BilalG1 May 22, 2026
2a056ea
feat(hexclave): dual-accept x-hexclave-* request headers
BilalG1 May 22, 2026
30ffd60
feat(hexclave): register ask_hexclave MCP tool alongside ask_stack_auth
BilalG1 May 22, 2026
7fed864
feat(hexclave): env vars, cookies, bearer, symbols, query params, int…
BilalG1 May 22, 2026
32131ea
feat(hexclave): rename dev-tool DOM identifiers and switch its header…
BilalG1 May 22, 2026
21217fb
fix(hexclave): review-pass fixes for PR 1
BilalG1 May 22, 2026
4b16cc5
test(hexclave): hide x-hexclave-request-id in snapshots; regen projec…
BilalG1 May 22, 2026
58199d7
feat(hexclave): regenerate OpenAPI docs for hexclave_response_mode qu…
BilalG1 May 22, 2026
6d07139
fix(hexclave): address review comment + hide duplicate hexclave heade…
BilalG1 May 22, 2026
5e5189f
fix(hexclave): SDK fallback tests — restore singular helpers, context…
BilalG1 May 22, 2026
f911217
fix(hexclave): address review comments + auth-like test helper Bearer…
BilalG1 May 22, 2026
4977c73
chore(hexclave): temporarily bump docker workflow sleep to diagnose d…
BilalG1 May 22, 2026
8a0d6f4
fix(hexclave): optimize entrypoint sentinel-replace to only sed match…
BilalG1 May 23, 2026
8ab3789
fix(docker): guard sentinel-replace against bare STACK_ENV_VAR_SENTIN…
May 23, 2026
afc8ff8
fix(lint): correct ternary indentation in parseAuthorizationHeaderValue
May 23, 2026
3d36caf
fix(hexclave): preserve stackauth_ Bearer emission; mirror URL envs i…
May 23, 2026
3f51ed5
fix(hexclave): update e2e tests for cookie dual-write + storage-key r…
BilalG1 May 23, 2026
d111c60
fix(hexclave): three more test-side follow-ups for cookie/header dual…
BilalG1 May 23, 2026
b60a455
fix(hexclave): address pr review compatibility feedback
BilalG1 May 23, 2026
dce66a8
fix(hexclave): drop duplicate Hexclave*App type re-exports
BilalG1 May 23, 2026
47e7c6e
fix(hexclave): align e2e tests with hexclave-only emit (cookies, cros…
BilalG1 May 23, 2026
3a480a3
Merge remote-tracking branch 'origin/dev' into cl/hexclave-pr1
BilalG1 May 23, 2026
5ad6888
fix(tests): align with HexclaveAssertionError suffix + hexclave_cross…
BilalG1 May 23, 2026
809ca8d
Merge branch 'dev' into cl/hexclave-pr1
BilalG1 May 23, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test(hexclave): hide x-hexclave-request-id in snapshots; regen projec…
…ts.test snapshots

Found while running e2e tests against PR 1 changes:

- snapshot-serializer.ts already hid x-stack-request-id (non-deterministic);
  with the dual-emit, x-hexclave-request-id was leaking into snapshots. Added
  it to the hidden list — matches the existing x-stack-request-id treatment.
- projects.test.ts: 2 inline snapshots updated to include the new
  x-hexclave-known-error header alongside x-stack-known-error (PR 1 dual-emit
  working correctly — both headers are deterministic and belong in snapshots).

Verified: pnpm test run apps/e2e/.../mcp.test.ts → 6/6 pass; projects.test.ts
→ 11/11 pass against the running backend on cl/hexclave-pr1.
  • Loading branch information
BilalG1 committed May 22, 2026
commit 4b16cc5d00b9e27d4b8f08eab0bdf29ebe4354f8
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ it("should not have have access to the project", async ({ expect }) => {
\`,
},
"headers": Headers {
"x-hexclave-known-error": "ACCESS_TYPE_WITHOUT_PROJECT_ID",
"x-stack-known-error": "ACCESS_TYPE_WITHOUT_PROJECT_ID",
<some fields may have been hidden>,
},
Expand All @@ -36,6 +37,7 @@ it("is not allowed to list all current projects without signing in", async ({ ex
"error": "User authentication required for this endpoint.",
},
"headers": Headers {
"x-hexclave-known-error": "USER_AUTHENTICATION_REQUIRED",
"x-stack-known-error": "USER_AUTHENTICATION_REQUIRED",
<some fields may have been hidden>,
},
Expand Down
1 change: 1 addition & 0 deletions apps/e2e/tests/snapshot-serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const hideHeaders = [
"content-encoding",
"etag",
"x-stack-request-id",
"x-hexclave-request-id",
"x-middleware-rewrite",
] as const;

Expand Down
Loading