fix(lint): reorder availability exports for Biome organize-imports - #1420
Closed
github-actions[bot] wants to merge 1 commit into
Closed
fix(lint): reorder availability exports for Biome organize-imports#1420github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Fixed: - src/lib/availability/index.ts: reordered export names so CURRENT_PROVIDER_STATUS_WINDOW_MINUTES sorts before lowercase identifiers (the actual CI failure) - src/lib/availability/availability-service.ts: biome format auto-fix (line wrapping) - tests/unit/lib/availability/projection-worker.test.ts: biome format auto-fix (line wrapping) CI Run: https://github.com/ding113/claude-code-hub/actions/runs/31575621360 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CI Auto-Fix
Original PR: #1402
Failed CI Run: Non-Main Branch CI/CD
Root Cause
The
dev-build-deployjob failed at thebun run lintstep with a single Biome error:CURRENT_PROVIDER_STATUS_WINDOW_MINUTESwas listed after lowercase identifiers, violating Biome's export sorting rule (uppercase sorts before lowercase by code point).Fixes Applied
CURRENT_PROVIDER_STATUS_WINDOW_MINUTESbeforecalculateAvailabilityScore/classifyRequestStatusfloorToUtcMinute(auto-applied bybiome format --write)transactionMockcalls (auto-applied bybiome format --write)All changes are purely mechanical (reordering and whitespace). No logic changes.
Verification
bun run typecheckpassesbun run format+bun run lintpasses (0 errors; only the pre-existing biome schema-version info notice remains, which does not fail CI)Auto-generated by Claude AI
Greptile Summary
This PR applies mechanical formatting changes to satisfy Biome without changing runtime behavior.
floorToUtcMinuteand projection-worker test expressions.Confidence Score: 5/5
The PR appears safe to merge because all changes are behavior-preserving formatting or export reordering.
The exported symbols, function arguments, callback behavior, and test assertions remain unchanged, and no actionable defect was identified.
Important Files Changed
Date.UTCexpression without changing its arguments or behavior.Reviews (1): Last reviewed commit: "fix(lint): reorder availability exports ..." | Re-trigger Greptile