Repository navigation
Add native federated identity sessions - #1428
Closed
bradseiler wants to merge 16 commits into
Closed
bradseiler wants to merge 16 commits into
bradseiler wants to merge 16 commits into
Conversation
Share one native session across plugins and protected transports. Keep API forwarding and CLI setup unavailable until their contracts exist. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Keep stale read fencing and distinguish a dispatched mutation from sign-in refusal. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Keep callback registration and persistence serialized, while snapshots and protected admission remain responsive. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Ignore stray indices and retain indexed deletion failures behind the existing pending sign-out fence. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Refresh decisions for each socket generation, coalesce discovery, and fence ordinary and protected work through dispatch and completion. Preserve independent socket lifetimes and mandatory fail-closed discovery. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Keep explicit credential refusals actionable while connection, discovery and worker-start failures use the existing live reconnect budget. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Brad Seiler <seiler@squareup.com>
Grant the trusted main webview listen and unlisten access without event emission. Cover the real native event dispatch and preserve fail-closed startup behavior. Co-authored-by: Codex <noreply@openai.com> Co-authored-by: Brad Seiler <seiler@squareup.com> Signed-off-by: bb-expert <51cde9442e46eac81c83ec71552708c3b0cb96a88ff8e1581d8fb4de281afbf3@buzz.block.builderlab.xyz>
Co-authored-by: Honor <e0bf479eeebe47dde1e35705212a4df70616a7bc834d907ddfb18cf0405f8b1b@buzz.block.builderlab.xyz> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Honor <e0bf479eeebe47dde1e35705212a4df70616a7bc834d907ddfb18cf0405f8b1b@buzz.block.builderlab.xyz> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Honor <e0bf479eeebe47dde1e35705212a4df70616a7bc834d907ddfb18cf0405f8b1b@buzz.block.builderlab.xyz> Signed-off-by: Brad Seiler <seiler@squareup.com>
Co-authored-by: Honor <e0bf479eeebe47dde1e35705212a4df70616a7bc834d907ddfb18cf0405f8b1b@buzz.block.builderlab.xyz> Signed-off-by: Brad Seiler <seiler@squareup.com>
Contributor
Author
|
🤖 Superseded by #1424, the rebuild on newer main with agent credentials and shared-session plugin integration. Both replace #869; these are alternative implementations, not a stack. The reconciliation checklist in #1424 preserves the unique work and unresolved contracts from this PR: Huddle audio upgrade/expiry, transport regression tests, legacy compatibility, admitted-operation semantics, bounded assertion failures, management/backup contracts, and native acceptance. Code integration remains outstanding there; this closure does not mean those differences are resolved. This branch and the review history remain available. Validation reported here applies to its recorded heads only. Continue integration and readiness tracking in #1424. |
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.
Replaces #869, whose pull-request head stopped tracking the published branch after the rebase.
Summary
Candidate and validation
4ad00a8aeabea1b8ab95e7392574223980c95319.84a107c3bb4020ae56f6a1fa8e125ad266921d2d.bin/pnpm check: passed at the parent candidatec00d7106; this follow-up is Rust-only.c00d7106.c00d7106.c00d7106, serial: 546 passed, 3 ignored. McKeon independently ran the full parallel suite at that head: 546 passed, 3 ignored.84a107c3, the four new relay-send, upload, media, and Git transport tests passed individually. The full parallel Rust suite had 547 passed, 3 failed, and 3 ignored; failures were in unchanged Nsec backup-choice and terminal tests. The two backup failures and one hang passed in isolation. Clean-main runs also reproduced parallel backup/terminal lock flakes.cargo fmt --all --checkand workspace Clippy passed.CIwas manually dispatched at the published branch head84a107c3; its Windows native validation job is running: https://github.com/block/buzz-app/actions/runs/39475707470. The workflow's manual-dispatch path runs Windows validation only.84a107c3found no blocking implementation defect. It flagged Huddle expiry as a remaining product/acceptance question: the socket closes at assertion expiry, but cached assertions can have as little as about 15 seconds remaining when a Huddle joins. There is no automatic Huddle reconnect; a user rejoin obtains fresh authorization and repeats NIP-42.Open gates
NsecBackupHostcontract. No host-owned credential is forwarded to Builderlab APIs.BUZZ_BUILD_FEDERATED_IDENTITY_CONFIGunset by default. Unconfigured builds retain the existing hosted-community and Builderlab sign-in paths.getUserMediabehavior reproduced in a minimal page with the configured fake-device flags.Staged acceptance
Rollback
Do not enable relay enforcement as part of this app change. If a configured build fails acceptance, withdraw that build or revert this change. Protected relays must continue to fail closed; rollback must never use unsigned or legacy credentials for a configured FI request.
Generated with Codex