Skip to content

Remove [Flags] from Fido2ErrorCode - backport to 4.x - #695

Merged
aseigler merged 2 commits into
passwordless-lib:maintenance-4.xfrom
aseigler:backport-692-error-code-flags-4.x
Oct 29, 2026
Merged

aseigler merged 2 commits into
passwordless-lib:maintenance-4.xfrom
aseigler:backport-692-error-code-flags-4.x

Conversation

@aseigler

Copy link
Copy Markdown
Collaborator

Its values are sequential, not powers of two, and no code ever combines them with bitwise operators -- every throw site sets exactly one value. The attribute only misled analyzers into suggesting nonsensical flag-combination refactors (#692).

Its values are sequential, not powers of two, and no code ever
combines them with bitwise operators -- every throw site sets exactly
one value. The attribute only misled analyzers into suggesting
nonsensical flag-combination refactors (fixes passwordless-lib#692).
@aseigler aseigler self-assigned this Oct 29, 2026
@aseigler aseigler added the bug Something isn't working label Oct 29, 2026
@codecov

codecov Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.74%. Comparing base (b85a712) to head (fea8c45).

Additional details and impacted files
@@               Coverage Diff                @@
##           maintenance-4.x     #695   +/-   ##
================================================
  Coverage            84.74%   84.74%           
================================================
  Files                  142      142           
  Lines                 4332     4332           
  Branches               702      702           
================================================
  Hits                  3671     3671           
  Misses                 493      493           
  Partials               168      168           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aseigler
aseigler merged commit f7ed63c into passwordless-lib:maintenance-4.x Oct 29, 2026
10 checks passed
This was referenced Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant