Repository navigation
feat: add the ./react entry - #6
Merged
Merged
Conversation
brammitch
force-pushed
the
feat/react-client-3.6
branch
from
October 21, 2026 17:29
a62774e to
be9b758
Compare
Share session and socket transitions through framework-free reducers and injected effect runners. Apply the logout-generation rule to HTTP and socket failures, and expose React hooks and the catalog client. Include a Compose demo, contract coverage, and optional React 18/19 peer support. Keep the entry importable without a browser.
The provider captured window.location.href once at mount, so an automatic re-login after a refresh_indeterminate 401 returned the user to the route open when the app loaded. callbackURL now accepts a function that is read at each sign-in and defaults to the page URL at that moment. A sign-in refused by Interlock is classified as a bff dependency failure carrying its status instead of a network failure. Drops the unused Vite alias in the demo and the em-dash in its username fallback.
brammitch
force-pushed
the
feat/react-client-3.6
branch
from
October 21, 2026 17:31
be9b758 to
1078316
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
InterlockProvider, session/fetch/catalog/socket hooks, and framework-free session and socket reducers with injectable effects. Ordinary 401s show login; only a current-generationrefresh_indeterminatere-enters login once. Responses sent before sign-out cannot redirect afterward, and stale session objects cannot revive an ended session.Dependency failures preserve the session. Failed socket opens revalidate through
/api/irongate/notifications/count; 4401 uses the shared session transition and 4503 reports a recoverable dependency failure. Global sign-out reportsended,unconfirmed, orno_session, flags incomplete cleanup, and never retries automatically.Includes the catalog/request client, a sibling-origin HTTPS Compose demo, React 18/19 optional peer support, packed-import CI coverage, README usage, and a minor changeset. This PR depends on the username branch; release both changesets together as 0.2.0.
Validation:
The Compose run temporarily mounted the built package into the existing v5.10.0 host and restored its release configuration afterward. It is not published-package, cluster, or enclave release evidence. Publication, API consumer bump, and release smoke remain pending. Part of Interlock work item 3.6.