Skip to content

chore(lint): enable unicorn/prefer-bigint-literals - #2144

Merged
HAYDEN-OAI merged 1 commit into
mainfrom
dev/hayden/ultracite-064-unicorn-prefer-bigint-literals
Aug 8, 2026
Merged

HAYDEN-OAI merged 1 commit into
mainfrom
dev/hayden/ultracite-064-unicorn-prefer-bigint-literals

Conversation

@HAYDEN-OAI

@HAYDEN-OAI HAYDEN-OAI commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor
  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

  • Remove the unicorn/prefer-bigint-literals compatibility exception from oxlint.config.ts.
  • Replace the 3 existing test-only BigInt() calls with equivalent bigint literals.

Additional context & links

Validation

  • pnpm lint
  • pnpm exec tsc --pretty false
  • pnpm exec vitest run --config vitest.config.mts --update=none

Stack

#2141
#2143
#2144 👈 this PR
#2145
#2146
#2147
#2148
#2149

@jbeckwith-oai jbeckwith-oai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the immediate stacked diff at this exact head. The three BigInt() to bigint-literal rewrites are semantically equivalent for these integer fixtures, remain compatible with the ES2020/Node 22+ policy, and fully enable the inherited unicorn/prefer-bigint-literals rule without changing generated-file or import-policy boundaries. Lint, TypeScript, the targeted tests, and the full handwritten Vitest suite pass.

Base automatically changed from dev/hayden/ultracite-063-unicorn-consistent-existence-index-check to main August 8, 2026 00:29
@openai-sdks

openai-sdks Bot commented Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

OkTest Summary

✅ 237/237 SDK tests passed in 10.413s for Node SDK PR #2144.

Test results — 42 files
Test Result Time
tests/chat-completions-complex-body.test.ts ✅ Passed 165ms
tests/chat-completions-create.test.ts ✅ Passed 237ms
tests/chat-completions-stream.test.ts ✅ Passed 222ms
tests/files-content-binary.test.ts ✅ Passed 155ms
tests/files-create-multipart.test.ts ✅ Passed 144ms
tests/files-list-pagination.test.ts ✅ Passed 163ms
tests/initialize-config.test.ts ✅ Passed 194ms
tests/instance-isolation.test.ts ✅ Passed 112ms
tests/models-list.test.ts ✅ Passed 125ms
tests/responses-background-lifecycle.test.ts ✅ Passed 254ms
tests/responses-body-method-errors.test.ts ✅ Passed 330ms
tests/responses-cancel-timeout.test.ts ✅ Passed 237ms
tests/responses-cancel.test.ts ✅ Passed 177ms
tests/responses-compact-retries.test.ts ✅ Passed 277ms
tests/responses-compact.test.ts ✅ Passed 200ms
tests/responses-create-advanced-stream.test.ts ✅ Passed 147ms
tests/responses-create-advanced.test.ts ✅ Passed 163ms
tests/responses-create-disconnect.test.ts ✅ Passed 1.118s
tests/responses-create-errors.test.ts ✅ Passed 175ms
tests/responses-create-malformed-api-responses.test.ts ✅ Passed 182ms
tests/responses-create-retries.test.ts ✅ Passed 295ms
tests/responses-create-stream-failures.test.ts ✅ Passed 215ms
tests/responses-create-stream-timeout.test.ts ✅ Passed 2.157s
tests/responses-create-stream-wire.test.ts ✅ Passed 2.522s
tests/responses-create-stream.test.ts ✅ Passed 80ms
tests/responses-create-terminal-states.test.ts ✅ Passed 225ms
tests/responses-create-timeout.test.ts ✅ Passed 240ms
tests/responses-create.test.ts ✅ Passed 158ms
tests/responses-delete.test.ts ✅ Passed 245ms
tests/responses-input-items-errors.test.ts ✅ Passed 184ms
tests/responses-input-items-list.test.ts ✅ Passed 177ms
tests/responses-input-items-options.test.ts ✅ Passed 109ms
tests/responses-input-tokens-count-timeout.test.ts ✅ Passed 239ms
tests/responses-input-tokens-count.test.ts ✅ Passed 200ms
tests/responses-malformed-inputs.test.ts ✅ Passed 2.239s
tests/responses-not-found-errors.test.ts ✅ Passed 246ms
tests/responses-parse.test.ts ✅ Passed 168ms
tests/responses-retrieve-retries.test.ts ✅ Passed 240ms
tests/responses-retrieve.test.ts ✅ Passed 251ms
tests/responses-stored-method-errors.test.ts ✅ Passed 559ms
tests/retry-behavior.test.ts ✅ Passed 2.984s
tests/sdk-error-shape.test.ts ✅ Passed 252ms

View OkTest run #31230347916

SDK merge (56fe2a6eeff0) · head (2fc3156fc3d2) · base (1828b2871925) · OkTest (91635c6a2723)

@HAYDEN-OAI
HAYDEN-OAI added this pull request to the merge queue Aug 8, 2026
Merged via the queue into main with commit d272540 Aug 8, 2026
25 checks passed
@HAYDEN-OAI
HAYDEN-OAI deleted the dev/hayden/ultracite-064-unicorn-prefer-bigint-literals branch August 8, 2026 00:36
@openai-sdks openai-sdks Bot mentioned this pull request Aug 8, 2026

This branch was previously deployed

1 inactive deployment
ci — 2fc3156f Deployed Aug 8, 2026 by HAYDEN-OAI via examples #5767
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