Skip to content

fix: release 3.2.1 with more reliable Telegram sign-in - #60

Merged
vcode-sh merged 6 commits into
mainfrom
test/behavior-quality-audit
Nov 4, 2026
Merged

vcode-sh merged 6 commits into
mainfrom
test/behavior-quality-audit

Conversation

@vcode-sh

@vcode-sh vcode-sh commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

This patch fixes sign-in edge cases found during the behavior-focused test review: overlapping widgets, unusual OIDC subjects and mapper claims, duplicate Mini App fields, conflicting account owners, and account links revoked by application hooks during login. Public entrypoints and account keys are preserved; no schema migration or configuration change is required.

The change also replaces weak tests with response, session and durable-state checks, improves fixture cleanup, and adds one shared test-quality skill for Claude Code and Codex. The changelog describes the user-visible fixes, and package metadata is bumped to 3.2.1.

Validation:

  • Two bounded release reviews found no blocking issue.
  • The 3.2.1 build passes publint and Are The Types Wrong; declaration consumers and installed ESM/CommonJS sign-in and session readback pass on Node 26.13.0.
  • The prior runtime verification recorded 336 default tests, 98 real-adapter passes with seven capability-dependent skips, and targeted fault reversals. Details and limits are in docs/deeper-verification-2026-11-04.md.
  • Full CI on this release head is required before merge, including exact Node 24.0.0, the minimum Better Auth family, Bun, coverage, runtime dependency audit and real adapters.

Live Telegram and browser layout/cookie acceptance were not repeated. This change does not introduce distributed uniqueness or universal concurrent-revocation guarantees.

Codecov follow-up on the release PR:

  • Added the account-hook revocation case where the user profile is already current. Removing only that authority recheck in an isolated copy produces HTTP 200 instead of the required 401; restoring it passes.
  • Added a compatibility case for a vetoed username update: the stored profile is retained in the sign-in response and cookie-authenticated session. Removing the null-result fallback in an isolated copy produces HTTP 500 instead of 200; restoring it passes.
  • No production code changed. All 338 default tests pass on Node 26.13.0; scoped lint, package type checks and diff checks pass. Temporary probes were removed.
  • Fresh CI and Codecov results are required for this updated head. Coverage thresholds and exclusions are unchanged.

Introduced a new document outlining testing standards to ensure meaningful test coverage and behavior validation. Added repository instructions in AGENTS.md to guide contributors on testing practices and documentation requirements. Updated CHANGELOG.md to reflect these additions and improvements in testing documentation.
Updated the .gitignore to expose only the repository skill while ignoring local Claude state. Revised AGENTS.md and CLAUDE.md to reference the new testing-patterns skill for improved test authoring and verification. Added comprehensive documentation for the testing-patterns skill and repository testing reference to guide contributors on effective testing practices.

This update aims to streamline testing processes and ensure meaningful test coverage.
Revised the CONTRIBUTING.md to clarify testing standards and practices, emphasizing the importance of distinguishing requirements from plausible defects. Introduced a new validation.md file to document client discovery and behavioral checks for the testing-patterns skill, enhancing guidance for contributors on effective testing methodologies. This update aims to improve the overall testing framework and ensure comprehensive coverage.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T10:47:47.455885Z 2c8f39e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@vcode-sh
vcode-sh merged commit 22cabbd into main Nov 4, 2026
10 checks passed
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