Skip to content

fix: support ##[command] log prefix in action run UI - #37882

Merged
silverwind merged 4 commits into
go-gitea:mainfrom
Sumit189:fix_actions_command_log
May 28, 2026
Merged

fix: support ##[command] log prefix in action run UI#37882
silverwind merged 4 commits into
go-gitea:mainfrom
Sumit189:fix_actions_command_log

Conversation

@Sumit189

Copy link
Copy Markdown
Contributor

The Actions log parser only recognized [command], so runner command
output emitted as ##[command] ... was not shown in expanded step logs.

Add ##[command] support to LogLinePrefixCommandMap in
web_src/js/components/ActionRunView.ts and cover it with a regression
test in web_src/js/components/ActionRunView.test.ts.

Changes

  • Fixes Actions UI log rendering for runner command output
  • Adds support for ##[command] in the Actions log parser
  • Ensures runner echo ... lines are rendered when expanding step logs
  • Includes a regression test covering ##[command] foo parsing

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label May 27, 2026
@Sumit189 Sumit189 closed this May 27, 2026
@Sumit189 Sumit189 reopened this May 27, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels May 27, 2026
@lunny lunny added type/enhancement An improvement of existing functionality and removed type/bug labels May 27, 2026
@lunny lunny added this to the 1.27.0 milestone May 27, 2026
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels May 28, 2026
@github-actions github-actions Bot added type/bug and removed type/enhancement An improvement of existing functionality labels May 28, 2026
@silverwind
silverwind enabled auto-merge (squash) May 28, 2026 03:20
@silverwind silverwind added the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label May 28, 2026
@silverwind
silverwind merged commit 9e0e9e4 into go-gitea:main May 28, 2026
23 checks passed
@GiteaBot GiteaBot removed the reviewed/wait-merge This pull request is part of the merge queue. It will be merged soon. label May 28, 2026
zeekay pushed a commit to hanzoai/forge that referenced this pull request Jul 26, 2026
The Actions log parser only recognized `[command]`, so runner command
output emitted as `##[command] ...` was not shown in expanded step logs.

Add `##[command]` support to `LogLinePrefixCommandMap` in
`web_src/js/components/ActionRunView.ts` and cover it with a regression
test in `web_src/js/components/ActionRunView.test.ts`.

Changes
- Fixes Actions UI log rendering for runner command output
- Adds support for ##[command] in the Actions log parser
- Ensures runner echo ... lines are rendered when expanding step logs
- Includes a regression test covering ##[command] foo parsing

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
@go-gitea go-gitea locked as resolved and limited conversation to collaborators Aug 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants