Skip to content

refactor(sqlstore): name the backchannel look-up and decide operations - #1005

Merged
osanderson merged 3 commits into
mainfrom
refactor/sqlstore-backchannel-op-names
Nov 27, 2026
Merged

osanderson merged 3 commits into
mainfrom
refactor/sqlstore-backchannel-op-names

Conversation

@osanderson

Copy link
Copy Markdown
Collaborator

Clears the SonarCloud issue on main (go:S1192 at sqlstore/backchannel.go:192): the operation strings "look up backchannel authentication" and "decide backchannel authentication" were repeated as literals, the second after #997 added unknownBackchannelHandle. They are now constants, opLookUpBackchannel and opDecideBackchannel, as opCreateBackchannel already is. The error text is unchanged.

sqlstore only; refactor:, so no release. The sqlstore race suite and lint pass.

🤖 Generated with Claude Code

@codecov

codecov Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

osanderson and others added 2 commits November 27, 2026 10:29
The two operation strings sqlstore puts in its backchannel errors were
repeated as literals; they are now constants, like opCreateBackchannel.
The errors are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… database as an outage

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@osanderson
osanderson force-pushed the refactor/sqlstore-backchannel-op-names branch from fb549d4 to 8512b11 Compare November 27, 2026 02:31
…equest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@osanderson
osanderson merged commit 4bc08dd into main Nov 27, 2026
29 checks passed
@osanderson
osanderson deleted the refactor/sqlstore-backchannel-op-names branch November 27, 2026 03:34
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