Skip to content

Release v0.3.26 - #98

Open
roncodes wants to merge 3 commits into
mainfrom
release/v0.3.26
Open

roncodes wants to merge 3 commits into
mainfrom
release/v0.3.26

Conversation

@roncodes

@roncodes roncodes commented Oct 8, 2026 •

Copy link
Copy Markdown
Member

Release branch for v0.3.26, cut from main.

This branch collects #97: the console's socket service authenticates its SocketCluster connection with short-lived socket tokens and recovers from expiry and kick-outs. It connects anonymously, as before, when the server has socket authentication off.

Related

Merging this tags v0.3.26. The version comes from the branch name and is checked against package.json and the first line of RELEASE.md.

…et tokens

The socket service now hands the SocketCluster client an in-memory auth
engine that mints a short-lived socket token from the console session
(POST int/v1/socket/token) for every handshake, so subscriptions queued
before the handshake go out authenticated and existing callers need no
change. Without a session, or when the server cannot mint tokens (404),
the client connects anonymously as before. Tokens never touch
localStorage or the URL.

- refresh 60s before expiry via socket.authenticate()
- on deauthenticate, or a kickOut/subscribeFail with a token reason,
  mint a fresh token, authenticate, and resubscribe the lost channels by
  name (restores delivery to raw instance().subscribe loops); retries are
  once per channel per token and capped per minute
- re-key on login, session restore and organization switch; on logout
  clear the token, stop timers and disconnect
- send query client=console/<version>
- extension-author notes live in the PR (docs moved to fleetbase.io)
@codecov

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (56af192) to head (9629f62).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##              main       #98    +/-   ##
==========================================
  Coverage   100.00%   100.00%            
==========================================
  Files          168       168            
  Lines         5027      5229   +202     
  Branches      1362      1395    +33     
==========================================
+ Hits          5027      5229   +202     
Flag Coverage Δ
ember-core 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

feat(socket-auth): authenticate the realtime socket with session socket tokens
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