LuxelEspañol

Luxel v0.2 · Project · part 2 of 2

Upgrading from 0.1.0-beta.2 to 0.2.0-alpha.1 (2)

Upgrade steps

  1. Install 0.2.0-alpha.1 of every @luxel-framework/* package you use (alpha dist-tag).
  2. Replace LUXEL_TRUST_PROXY=1 with your proxy's addresses or CIDRs, or unset it. Update any call to clientAddress(req, trusted) to pass the list string.
  3. Not using gateway identity: run luxel build and your tests; nothing else is required.
  4. Using gateway identity: add the identity block, export identityPrincipal, remove resolveSession and startSession, remove stream and LUXEL_STREAM, and export a bundled session store.
  5. Optional: set identity.signOutPath (and logout) to send ‹Logout> on to the gateway's sign-out.
  6. PostgreSQL store: let it migrate (it adds unused_until), run purgeExpired() on a schedule, and keep clocks within LUXEL_OPEN_CLOCK_MARGIN_MS.
  7. Run luxel build, then luxel-host luxel.config.json --check, then start the host (--check does not load the bindings).
  8. Review your log parsers and alerts for the allowlist logging change.

Known gaps in this release

  • Redaction scope (owner decision (a)): text an app or adapter deliberately puts in its own refusal messages is not filtered, unless it holds a protected value (session id, store key, bearer JWT, session cookie value). Such a refusal must not reach the client or a log.
  • A4 M1 (a write event's transaction holds the session), M3 (a stored surface is one session's grant) and M5 (the commit check bound to the attempt that owns the transaction) are not merged.
  • A5 (request-body findings): reproduced, fix planned for a later beta.
  • D5/D6: diagnostics at the point of failure and the nine known gaps in luxel check's exposure policy (S12.3-D5-1 to D5-9) stay open. Do not rely on luxel check alone to prove that a build's public output holds no secret.
  • The three allowlist-logging gaps listed under "Logs" above.
  • With PostgreSQL and gateway identity, a stalled final read can hold a new session's response past its delivery cutoff, and a host whose clock runs ahead can sweep a provisional row before it is confirmed (a refused sign-in). Both are to close before 0.2.0-beta.1 (GAPS.md).
  • Confirmed orphan sessions that were refused after the post-confirmation read (an outage or expiry seen right after the store's answer, a client that left before the head) and PostgreSQL rows written before the upgrade still end at their normal expiry or at a revocation of their user (GAPS.md).
  • Host-side policy enforcement for hand-written bindings (A4) and E3 are not in this release; E2, E8 and E9 were reclassified out of it.
  • Envoy Gateway's control plane, oauth2-proxy and Cloudflare Access were not tested in the repository; the Envoy run uses a hand-written bootstrap. Browser cookie handling and TLS termination in front of the host are not tested.
  • Not available yet: streamed pages under gateway identity (S1-B), delegated and third-party session stores (S1-C), sign-out addresses on another host.
Edit this page on GitHub

This page: 7.9 KB of JavaScript (Luxel's shared runtime), 0 KB from your app.

Measured when the site is built: the runtime files this page loads, compressed as they are sent.

Made by IntiOps. The Luxel 0.1.0 betas are on npm (0.1.0-beta.1, 0.1.0-beta.2), with an alpha of 0.2 (0.2.0-alpha.1): no external security review yet.