Skip to content

chore: drop .prettierignore - #110

Merged
kevmoo merged 1 commit into
mainfrom
drop-prettierignore
Sep 12, 2026
Merged

kevmoo merged 1 commit into
mainfrom
drop-prettierignore

Conversation

@kevmoo

@kevmoo kevmoo commented Sep 12, 2026

Copy link
Copy Markdown
Owner

The doc/api/** exclusion was speculative. Dartdoc output is never generated
into these repos, so the file only added noise to the canonical markdown
config set.

Removing it here keeps every repo's config byte-identical, which is the point
of the standardization -- the Tier 1 repos were never given this file.

The `doc/api/**` exclusion was speculative. Dartdoc output is never generated
into these repos, so the file only added noise to the canonical markdown
config set.

Removing it here keeps every repo's config byte-identical, which is the point
of the standardization -- the Tier 1 repos were never given this file.
@github-actions

Copy link
Copy Markdown

📦 Dependency Lower-Bound Validation Summary

✅ dhttpd

  • SDK Floor: 3.10.0
  • Status: Clean
Dependency Declared Constraint Declared Floor Resolved Version Status
args ^2.0.0 2.0.0 2.0.0 Exact Floor
build_cli_annotations ^2.0.0 2.0.0 2.0.0 Exact Floor
shelf ^1.0.0 1.0.0 1.0.0 Exact Floor
shelf_static ^1.0.0 1.0.0 1.0.0 Exact Floor

@github-actions

Copy link
Copy Markdown

📊 Cognitive Complexity Analysis

Net Delta: 0 | Added: 0 | Increased: 0 | Improved: 0 | Violations: 0

No modified Dart declarations detected.

@kevmoo
kevmoo merged commit 36e5fb8 into main Sep 12, 2026
9 checks passed
@kevmoo
kevmoo deleted the drop-prettierignore branch September 12, 2026 21:39
kevmoo added a commit to kevmoo/analytica.dart that referenced this pull request Sep 12, 2026
…eport (#117)

## Problem

`lower_bound` and `cognitive_complexity` unconditionally posted their
sticky
summary comment on every PR run, including runs with zero findings.
Example:
kevmoo/dhttpd#110 received two `github-actions[bot]` comments, both
empty
("Status: Clean, 4 deps all Exact Floor" and "Net Delta: 0 | Added: 0 |
Increased: 0 | Improved: 0 | Violations: 0"). Each one is an email
notification
for no information.

## Change

The Dart CLIs now own the "is this worth a comment?" decision:

- `lower_bound`: skips writing the `--comment-output` file when every
validated
  package is clean.
- `cognitive_complexity`: skips writing the comment file when there are
zero
  violations **and** zero complexity increases. The comment body is now
decoupled from `$GITHUB_STEP_SUMMARY`, so the full table still lands in
the
  job summary regardless.

Both `action.yml` scripts treat a missing/empty comment file as "clean":

- **No existing sticky comment** → post nothing. Silence is the clean
signal.
- **Existing sticky comment** (from an earlier dirty push) → `PATCH` it
in place
  via `gh api` to a short resolved/clean status block.

Deliberately **not** deleting stale comments: a disappearing comment is
more
confusing than an updated one, and the notification cost has already
been paid.

## Blast radius

⚠️ Every consumer repo references these actions as
`uses: kevmoo/analytica.dart/packages/<name>@main`, so merging this goes
live
across ~30 repos immediately with no per-repo PRs.

## Tests

- `lower_bound`: split the sticky-comment test into explicit clean (no
file
written) and dirty (file written) cases; fixed the dirty fixture to
actually
  fail lower-bound analysis (exit 70).
- `cognitive_complexity`: added `writes no comment file when run is
clean`,
  using an empty commit so `HEAD~1` resolves with a zero-delta diff.
- `dart test` passes in both packages.
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