Skip to content

feat(bff): adopt @craftainer/bff 0.2.0 and crud-sdk 0.8.0; the admin e2e passes again (BF5c) - #25

Merged
crazyracer98 merged 9 commits into
wip/bfffrom
wip/BF5c
Nov 4, 2026
Merged

crazyracer98 merged 9 commits into
wip/bfffrom
wip/BF5c

Conversation

@crazyracer98

Copy link
Copy Markdown
Contributor

Pins @craftainer/bff 0.2.0 and @craftainer/crud-sdk 0.8.0, removes the admin e2e test.fail and the Known failures section.

…ite the BFF docs (BF5a)

- App calls usePageViews() once; no consent UI
- Remove /config.js script and template; .env.example documents the dev BFF vars
- Runner FROM derives from NODE_VERSION/DEBIAN_VERSION (digest kept); bff tests out of the image
- compose.instance.yml: dev BFF env (PUBLIC_ORIGIN, OIDC_*, BFF_UPSTREAMS); 8081 port label
- ADR 0007 (supersedes 0001, 0002), ADR 0008, FR-0001, docs/architecture.md; README, scripts docs, 0003/0006 notes
…I (BF5)

Session cookie, CSRF/Origin, logout, back-channel logout, refresh CAS, idle/absolute expiry, well-known, analytics, admin journey; lane.sh/run.sh/lane.compose.yml; docs
…I (BF5)

Mark the two known failures with test.fail; wider expect timeout
…s none (BF5b)

- viewPath takes a default resource; the admin publishes resources[0] via src/analytics/defaultResource.ts
- usePageViews keeps the last path in a ref so the late default does not duplicate a view
- remove the trash test.fail marker and its Known-failures entry; README e2e line points at lane.sh
…-request nonce (BF5c phase A)

- vite.config.ts: html.cspNonce __CSP_NONCE__
- src/theme/emotionCache.ts: nonce from meta[property=csp-nonce].nonce, cache key mui, prepend; ThemeProvider wraps in CacheProvider
- @emotion/cache 11.14.0 as a direct dependency (lockfile version)
- ADR 0007 amendment; e2e Known failures note
@crazyracer98
crazyracer98 merged commit bfcaad5 into wip/bff Nov 4, 2026
3 checks passed
@crazyracer98
crazyracer98 deleted the wip/BF5c branch November 4, 2026 07:55
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