fix: sort availability module exports for biome 2.5.8 - #1424
Closed
github-actions[bot] wants to merge 1 commit into
Closed
fix: sort availability module exports for biome 2.5.8#1424github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Biome 2.5.8 enforces case-sensitive organizeImports ordering where uppercase identifiers sort before lowercase. Reordered CURRENT_PROVIDER_STATUS_WINDOW_MINUTES before calculateAvailabilityScore and classifyRequestStatus to satisfy the lint check. CI Run: https://github.com/ding113/claude-code-hub/actions/runs/31576740415 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
Fixes Applied
src/lib/availability/index.tsCURRENT_PROVIDER_STATUS_WINDOW_MINUTESbeforecalculateAvailabilityScoreandclassifyRequestStatusto satisfy biome 2.5.8 organizeImports sort ruleRoot Cause
Biome 2.5.8 (installed via
@biomejs/biome@^2.5.6) enforces case-sensitive alphabetical ordering for exported names: uppercase identifiers sort before lowercase ones at the same alphabetical position. The file was written for an older biome version that did not flag this ordering.Not Auto-Fixable
The biome.json schema version mismatch (
2.5.6vs CLI2.5.8) is informational only and did not cause the CI failure.Verification
Auto-generated by Claude AI
Greptile Summary
This PR mechanically reorders a named export to satisfy Biome 2.5.8 import organization without changing the module’s public API or runtime behavior.
CURRENT_PROVIDER_STATUS_WINDOW_MINUTESbefore lowercase exports.Confidence Score: 5/5
The PR appears safe to merge because it only reorders an unchanged set of named exports.
Named export order does not alter the module’s API or runtime behavior, and no actionable defects were identified.
Important Files Changed
Reviews (1): Last reviewed commit: "fix: sort availability module exports fo..." | Re-trigger Greptile