feat(rust): a Steam account linked on the site is a Rust link (D392, D396) #52
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/steam-signin-link"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
Module-Rust's half of Sign in with Steam (
docs/website/STEAM_SIGNIN.md; PLAN_REDESIGNS §15). Needs core website#218 (MODULE_API 1.17.0).api.onIdentityLinked→links.linkFromSteamSigninmakes the Steam account this user's Rust link. It is the same write as/link'sconfirmOne: the PRIMARY KEY guards against a race (a/linkthat lands first keeps its link), Teams are reconciled, and the linked notice is raised.nameis the Steam persona name;server_idis null.api.onIdentityLinking→links.checkSteamSigninrefuses (reason: 'in_use') a Steam id that is already another website account's Rust link, so core writes nothing.coreApiis^1.17.0, the engagement manifest is regenerated, andci/core-ref.jsonis pinned to website#218's head (5e398d8) while that PR is open. It moves to the merge sha afterwards.How it was tested
npm test(server): 690 pass, 0 fail. That includes 5 new link tests and an entry test checking both hooks are registered. Also clean:check:imports,check:engagement,check:swagger.npm run build,check:externals, 99 tests pass.routes.manifest.json is current — 89 routes.finishLinkbecame a Rust link./link-made Rust link refused another account's Steam link, with nothing written.Checklist
AI-assisted contributions (required)
Claude Code (Claude Opus 5.5). I have reviewed and understandevery change, and take responsibility for it. AI-authored commits are
marked with a
Co-Authored-By/Assisted-Bytrailer.License
(GNU GPL v3.0 or later), and I have the right to contribute it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01E14m6SuuY6i1vASFeGDBeY