Repository navigation
Lab actions run with FORCE_COLOR=1, so their output can be colored - #5
Merged
Merged
Conversation
An action's output goes to a pipe, so programs print no colors. The scimigo.com lab page now renders ANSI colors, so actions run with FORCE_COLOR=1 and CLICOLOR_FORCE=1, the two common conventions, unless the learner's environment already sets them. NO_COLOR, if set, still wins in tools that honor it. protocol.md now documents the per-step result lines (#4) and that output may contain ANSI codes, which a page should render or strip. Test: an action printing both variables gets "1 1", even when the test process has FORCE_COLOR set. 174 passed; ruff, format and mypy clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An action's output goes to a pipe, so programs print no colors. The scimigo.com lab page is getting ANSI color rendering, so actions now run with
FORCE_COLOR=1andCLICOLOR_FORCE=1, the two common conventions, unless the learner's environment already sets them.NO_COLORstill wins in tools that honor it.protocol.mdnow documents the per-step result lines from #4, and says that output may contain ANSI codes, which a page should render or strip.The Restate demo (SciMigo/restate-durable-agent-demo@f515afa) colors its lines when
FORCE_COLORis set.Test: an action printing both variables gets
1 1, even when the test process itself hasFORCE_COLORset. 173 passed; ruff, format and mypy clean.🤖 Generated with Claude Code