Files
pipelines/app/notes/no-patch-reason.md
T
alan d3a2369d1f Stage rows show cached share and cost; Changes explain no_patch_reason
Timeline stage rows add the cached share (when cache_known) and a positive
cost: 20.1M tokens · 97% cached · $1.42. The file viewer words each server
no_patch_reason, keeping the old truncated/binary text as the fallback.
2026-11-04 17:26:31 +00:00

10 lines
503 B
Markdown

# Changes: why a file has no patch
The server's `FileChange.no_patch_reason` (`binary`, `file_size`, `budget`,
`lines`, `evidence_size`, `git_status`, `baseline`) is parsed into
`FileChange.noPatchReason` and worded by `noPatchReasonMessage` in
`lib/features/changes/domain/change_wording.dart`. The file viewer shows it in
place of the generic truncated/binary message. A missing, blank or unknown
reason (older server) keeps the old wording. Tests:
`test/features/changes/no_patch_reason_test.dart`.