Repository navigation
fix: consistently interpret GitHub Actions environment flag (#670) - #723
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
WalkthroughLogTask success and failure paths now use ChangesLogTask GitHub Actions logging
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The logging changes are consistent with the stated GitHub Actions behavior, and no actionable merge-blocking risk is established. Pre-merge checks |
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0bf7235428
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Jamie-BitFlight
left a comment
There was a problem hiding this comment.
Holistic review of PRs #717–#728
Reviewed 0bf72354280e64a8cc9ff8b77d2c493ef42eea58 against main at edb05b4eeea35e03df75b066b8ddd1d708de9f1c.
Assessment: production routing is sound, but the existing logger tests need correction before merge — warning (P2).
The source probe confirms the real inconsistency: GITHUB_ACTIONS='false' previously skipped opening a group but still emitted an end-group command and selected core.setFailed. Reusing inGitHubActions() consistently fixes that logger route; unset/false now use core.error, and true retains Actions grouping/failure behavior.
The unchanged tests still expect setFailed for false. Exact-head Node 24 CI fails those two tests; the Node 26 check also fails. I am adding the independent evidence to the existing inline thread instead of duplicating it. Preserve the corrected production predicate and update the contract expectations.
#728 inherits this failure and does not fix actual group ownership. Other application-level truthiness checks are outside this logger-only diff; do not describe this change as reconciling every Actions boundary.
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
## [2.0.5](v2.0.4...v2.0.5) (2026-10-11) ### Bug Fixes * add CLI-only generation error boundary ([#654](#654)) ([#725](#725)) ([6a27eaa](6a27eaa)) * **ci:** honor explicit Node versions before automatic detection ([95a9e68](95a9e68)) * **ci:** honor explicit Node versions in the test matrix ([#735](#735)) ([3f03f0d](3f03f0d)) * complete SVG writes before reporting success ([#717](#717)) ([170e499](170e499)) * consistently interpret GitHub Actions environment flag ([#670](#670)) ([#723](#723)) ([68756ad](68756ad)) * fail generation on formatting and requested save errors ([#654](#654)) ([#718](#718)) ([bb48434](bb48434)) * guard malformed runs metadata and preserve load error causes ([#720](#720)) ([c6caf7a](c6caf7a)) * load native ESM configuration and verify fresh package entry points ([5f92784](5f92784)) * load native ESM configuration and verify fresh package entry points ([#733](#733)) ([55746ed](55746ed)) * pair section log groups and honor Actions mode at output boundaries ([2d45100](2d45100)) * pair section log groups and honor Actions output mode ([#734](#734)) ([ceaa03a](ceaa03a)) * preserve empty metadata descriptions and cover reviewed errors ([3c0a181](3c0a181)) * preserve empty metadata descriptions and verify reviewed error paths ([#732](#732)) ([f8c0f4e](f8c0f4e)) * preserve original file read error as cause ([#722](#722)) ([05553e0](05553e0)) * validate consumed nested metadata descriptions ([#670](#670)) ([#729](#729)) ([330ab9a](330ab9a)) * validate README section configuration at input boundary ([#670](#670)) ([#726](#726)) ([40c9efd](40c9efd)) * verify declared defaults using their rendered projection ([beb2180](beb2180)) * verify empty metadata descriptions through the contract checker ([a5e2d31](a5e2d31))
|
🎉 This PR is included in version 2.0.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Use the logger's existing
isGithubActions()predicate at all GitHub-specific logging branches. PreviouslyGITHUB_ACTIONS=falsewas truthy in several branches while the existing helper correctly rejected it. Keeps logger state and formatting behaviour unchanged. Draft pending focused tests and CI. Related #670.Summary by CodeRabbit