Skip to main content
← Back to list
01Issue
BugShippedSwamp CLIPublic
Assigneeszack

Relationships

#3166 Extension quality check output carries ANSI codes when FORCE_COLOR is set

Opened by zack · 10/7/2026· Shipped 10/7/2026

checkExtensionQuality runs deno fmt and deno lint with NO_COLOR=1 added to the inherited environment (src/domain/extensions/extension_quality_checker.ts:467 and :482). When the calling shell has FORCE_COLOR set (seen with FORCE_COLOR=3), deno still colours its output, so the fmt and lint issue output contains ANSI escape codes.

Observed: with FORCE_COLOR=3, two tests in src/domain/extensions/extension_quality_checker_test.ts fail (fmt output contains no ANSI escape codes, lint output contains no ANSI escape codes), which fails the run-tests step of verify-build. With FORCE_COLOR unset all 57 tests in the file pass.

Expected: the checker removes FORCE_COLOR from the child environment (or strips ANSI from the captured output), so its output is plain whatever the caller's shell sets.

Found while verifying swamp-club#3159; not related to that change.

02Bog Flow
✓OPEN✓TRIAGED✓IN PROGRESS✓SHIPPED+ 1 MOREASSIGNED+ 5 MOREREVIEW+ 7 MOREPR_MERGED+ 2 MORESESSION_SUMMARIZED

Shipped

10/7/2026, 10:33:41 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
zack assigned zack10/7/2026, 10:09:20 PM

Sign in to post a ripple.