Skip to content

fix: sort availability module exports for biome 2.5.8 - #1424

Closed
github-actions[bot] wants to merge 1 commit into
devfrom
claude-fix-pr-1402-31576834894
Closed

fix: sort availability module exports for biome 2.5.8#1424
github-actions[bot] wants to merge 1 commit into
devfrom
claude-fix-pr-1402-31576834894

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

CI Auto-Fix

Original PR: #1402
Failed CI Run: Non-Main Branch CI/CD

Fixes Applied

File Fix Type
src/lib/availability/index.ts Reordered CURRENT_PROVIDER_STATUS_WINDOW_MINUTES before calculateAvailabilityScore and classifyRequestStatus to satisfy biome 2.5.8 organizeImports sort rule lint (organizeImports)

Root 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.6 vs CLI 2.5.8) is informational only and did not cause the CI failure.

Verification

  • Change is purely mechanical (export reorder)
  • No logic or behavior changes
  • Matches biome 2.5.8 suggested fix exactly

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.

  • Moves CURRENT_PROVIDER_STATUS_WINDOW_MINUTES before lowercase exports.
  • Preserves the same exported symbols and source module.

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

Filename Overview
src/lib/availability/index.ts Reorders one named export for lint compliance with no functional change.

Reviews (1): Last reviewed commit: "fix: sort availability module exports fo..." | Re-trigger Greptile

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant