Skip to content

@hyphen/sdk - chore: upgrade code quality dependencies - #173

Closed
jaredwray wants to merge 1 commit into
mainfrom
chore/code-quality
Closed

jaredwray wants to merge 1 commit into
mainfrom
chore/code-quality

Conversation

@jaredwray

Copy link
Copy Markdown
Contributor

Please check if the PR fulfills these requirements

  • Followed the Contributing guidelines and Code of Conduct
  • Tests for the changes have been added (for bug fixes/features) with 100% code coverage.

This change is a dependency update. It does not add a feature test.

What kind of change does this PR introduce?
Dependency update.

Summary

This pull request moves the code quality tools to the newest releases that pass the 7 day age gate.

Changes

  • @biomejs/biome moves from 2.5.15 to 2.6.5.
  • vitest moves from 5.0.3 to 5.1.0.
  • @vitest/coverage-v8 moves from 5.0.3 to 5.1.0.
  • Each env() test title is now unique. Biome 2.6 warns on a repeated title.
  • This change removes the second toggle info test. The first test proves the same contract.

Artifact diffs

Verification

  • pnpm build passed.
  • biome check --error-on-warnings passed.
  • 241 unit tests passed with Vitest 5.1.0.
  • Live API tests need the repository secrets. This environment does not have those keys. CI runs those tests.

Test audit

The gate kept the four renamed env() tests. Each test still checks env() load behavior. The loadEnv tests do not call env().

The gate deleted the second should emit toggle info events test in test/hyphen.test.ts. The first test proves the same contract.

No new test was added.

Open in Web Open in Cursor 

Move Biome, Vitest, and the Vitest coverage package to the newest release that is at least 7 days old.
Give each env() test a unique title.
Remove the duplicate toggle info test.

Co-authored-by: Jared Wray <me@jaredwray.com>
@chatgpt-codex-connector

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

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T14:38:41.298354Z 152f3cb PR opened
ℹ️ 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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several development dependencies, including @biomejs/biome, @vitest/coverage-v8, and vitest, along with their corresponding lockfile entries. It also refactors the test suite by clarifying test descriptions in test/env.test.ts and removing a duplicate test case in test/hyphen.test.ts. I have no feedback to provide as there are no review comments.

@cursor

cursor Bot commented Nov 12, 2026

Copy link
Copy Markdown

The red checks come from the live Link API tests. Those tests call Link.createShortCode in test/link.test.ts and get HTTP 404. This pull request does not change src/link.ts or test/link.test.ts.

Pull request 172 fails the same 14 tests. That pull request does not change Vitest. The last green tests run on main was on 2026-10-11.

The other checks passed. The unit tests passed.

@jaredwray jaredwray closed this Nov 12, 2026
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.

2 participants