Skip to content

Auto-fix CI format failures for PR #1402 - #1422

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

Auto-fix CI format failures for PR #1402#1422
github-actions[bot] wants to merge 1 commit into
devfrom
claude-fix-pr-1402-31575996783

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: PR Build Check

Root Cause

The Code Quality Check job failed at the format:check (Biome) step. Two files from the availability feature (#1416) were not formatted per Biome 2.5.8 rules.

Fixes Applied

File Fix Type
src/lib/availability/availability-service.ts Wrapped new Date(Date.UTC(...)) call across multiple lines format
tests/unit/lib/availability/projection-worker.test.ts Wrapped long vi.fn(...) and expect(...) expressions format

Verification

  • bun run format:check passes (2061 files, no errors)
  • bun run typecheck passes
  • No logic changes made — pure line-wrapping only

Notes

The Code Quality Check job (pr-check.yml) runs typecheck -> format:check -> validate:migrations (no lint step). This fix resolves the format:check failure. Once merged into dev, 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.

  • Reformats the UTC minute-flooring expression in the availability service.
  • Reformats transaction mocks and an assertion in projection-worker tests.

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

Filename Overview
src/lib/availability/availability-service.ts Reformats the existing nested Date.UTC call without changing its arguments or behavior.
tests/unit/lib/availability/projection-worker.test.ts Reformats mock callbacks and an assertion without changing test semantics.

Reviews (1): Last reviewed commit: "fix: auto-fix CI format failures" | Re-trigger Greptile

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>
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