Skip to content

fix: list the remaining files when there are more than GitHub's annotation limit - #32

Merged
dsherret merged 1 commit into
mainfrom
annotation_limit
Sep 7, 2026
Merged

fix: list the remaining files when there are more than GitHub's annotation limit#32
dsherret merged 1 commit into
mainfrom
annotation_limit

Conversation

@dsherret

@dsherret dsherret commented Sep 7, 2026

Copy link
Copy Markdown
Member

GitHub shows at most 10 error annotations per step and silently ignores the rest, so when more than 10 files weren't formatted, the eleventh file onward didn't appear anywhere on the pull request.

Now when there are more than 10 files, the first 9 get their usual annotation and the tenth lists the remaining files:

3 more files are not formatted. Run `dprint fmt` to fix.

file10.json
file11.json
file12.json

Exactly 10 files still annotates every file. The list is capped at the same 4000 characters as the diff, with a note pointing at the log.

@dsherret dsherret changed the title feat: list the remaining files when there are more than GitHub's annotation limit fix: list the remaining files when there are more than GitHub's annotation limit Sep 7, 2026
@dsherret
dsherret merged commit e2de17c into main Sep 7, 2026
14 checks passed
@dsherret
dsherret deleted the annotation_limit branch September 7, 2026 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant