Auto-fix CI format failures for PR #1402 - #1422
Closed
github-actions[bot] wants to merge 1 commit into
Closed
Conversation
Fixed Biome format:check failures in availability feature files: - src/lib/availability/availability-service.ts: wrap floorToUtcMinute Date.UTC call - tests/unit/lib/availability/projection-worker.test.ts: wrap long vi.fn and expect lines Pure formatting (line-wrapping) changes, no logic modifications. CI Run: https://github.com/ding113/claude-code-hub/actions/runs/31575587255 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 Checkjob failed at theformat:check(Biome) step. Two files from the availability feature (#1416) were not formatted per Biome 2.5.8 rules.Fixes Applied
src/lib/availability/availability-service.tsnew Date(Date.UTC(...))call across multiple linestests/unit/lib/availability/projection-worker.test.tsvi.fn(...)andexpect(...)expressionsVerification
bun run format:checkpasses (2061 files, no errors)bun run typecheckpassesNotes
The
Code Quality Checkjob (pr-check.yml) runstypecheck->format:check->validate:migrations(nolintstep). This fix resolves theformat:checkfailure. Once merged intodev, PR #1402 should rebase to pick up the fix.Auto-generated by Claude AI
Greptile Summary
This PR applies Biome-compatible line wrapping without changing runtime or test behavior.
Confidence Score: 5/5
The PR appears safe to merge because all changes are behavior-preserving formatting updates.
The production expression, mock callback behavior, and test assertion logic remain identical after line wrapping, with no accepted functional or security issues.
Important Files Changed
Date.UTCcall without changing its arguments or behavior.Reviews (1): Last reviewed commit: "fix: auto-fix CI format failures" | Re-trigger Greptile