Skip to content

ci(textlint): fail on errors instead of only annotating (#8800) [skip ci] - #8800

Merged
rfay merged 1 commit into
ddev:mainfrom
stasadev:20260903_stasadev_textlint_fail_level
Sep 3, 2026
Merged

ci(textlint): fail on errors instead of only annotating (#8800) [skip ci]#8800
rfay merged 1 commit into
ddev:mainfrom
stasadev:20260903_stasadev_textlint_fail_level

Conversation

@stasadev

@stasadev stasadev commented Sep 3, 2026

Copy link
Copy Markdown
Member

Short Summary (TL;DR)

The docs-check textlint step reported errors as annotations but still passed, so terminology errors merged unnoticed. This makes it fail, and fixes the six errors that had slipped in.

The Issue

tsuyoshicho/action-textlint defaults to fail_level: none, so reviewdog annotates and exits 0. Run 33621739955 was green on main with six errors that make textlint reports locally.

How This PR Solves The Issue

Sets fail_level: error, matching the fail_on_error: true linkspector already uses. filter_mode stays at its default added, so only lines a PR adds are checked.

Manual Testing Instructions

make textlint reports no problems. Reintroducing tradeoff in a docs file fails it again.

Automated Testing Overview

The docs-check workflow is the test.

Release/Deployment Notes

CI and docs text only, no user-facing change.

… [skip buildkite]

## Short Summary (TL;DR)

The docs-check textlint step reported errors as annotations but still passed,
so terminology errors merged unnoticed. This makes it fail, and fixes the six
errors that had slipped in.

## The Issue

- No issue filed

`tsuyoshicho/action-textlint` defaults to `fail_level: none`, so reviewdog
annotates and exits 0. Run 33621739955 was green on main with six errors that
`make textlint` reports locally.

## How This PR Solves The Issue

Sets `fail_level: error`, matching the `fail_on_error: true` linkspector
already uses. `filter_mode` stays at its default `added`, so only lines a PR
adds are checked.

## Manual Testing Instructions

`make textlint` reports no problems. Reintroducing `tradeoff` in a docs file
fails it again.

## Automated Testing Overview

The docs-check workflow is the test.

## Release/Deployment Notes

CI and docs text only, no user-facing change.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

@rfay rfay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My goodness, finally! Thank you!

@rfay rfay changed the title ci(textlint): fail on errors instead of only annotating ci(textlint): fail on errors instead of only annotating (#8800) [skip ci] Sep 3, 2026
@rfay
rfay merged commit 21c8600 into ddev:main Sep 3, 2026
13 checks passed
@rfay
rfay deleted the 20260903_stasadev_textlint_fail_level branch September 3, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants