fix: auto-fix CI formatting failures for PR #1402 - #1421
Closed
github-actions[bot] wants to merge 1 commit into
Closed
fix: auto-fix CI formatting failures for PR #1402#1421github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Fixed: - src/lib/availability/availability-service.ts: Biome line-wrapping in floorToUtcMinute - tests/unit/lib/availability/projection-worker.test.ts: Biome line-wrapping in mock declarations and expect calls CI Run: https://github.com/ding113/claude-code-hub/actions/runs/31575625118 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: PR Build Check
Root Cause
The Code Quality Check job failed at
bun run format:check. PR #1416 (availability monitoring) merged two files with non-Biome-compliant formatting intodev. Any PR merging against the updateddevinherits these formatting errors, including PR #1402.Fixes Applied
src/lib/availability/availability-service.tsfloorToUtcMinutetests/unit/lib/availability/projection-worker.test.tsexpectcallsChanges are purely line-wrapping (whitespace/indentation) produced by
biome format --write. No logic changes.Not Auto-Fixable
The following pre-existing issues are unrelated to this CI failure (the failed job only ran
typecheck+format:check, notlint) and were left untouched:biome.jsonsrc/lib/availability/index.tsorganizeImportssort orderVerification
bun run typecheckpassesbun run format:checkpassesAuto-generated by Claude AI
Greptile Summary
This PR applies Biome-generated line wrapping to availability service code and its projection-worker tests without changing runtime or test behavior.
Date.UTCcall infloorToUtcMinute.Confidence Score: 5/5
The PR appears safe to merge because its changes are behavior-preserving formatting updates.
The rewritten expressions retain the same calls, arguments, callbacks, and assertions, with no functional changes or accepted review findings.
Important Files Changed
Date.UTCexpression without changing its arguments or behavior.Reviews (1): Last reviewed commit: "fix: auto-fix CI formatting failures" | Re-trigger Greptile