actions / actions/runner

Support named log groups

Open
#1,477 4 comments 17 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement future
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

Describe the enhancement

Currently, it is possible to wrap logs in collapsible groups through ::group:: and ::endgroup::. The former accepts an optional string, which is used as the title of the collapsible header. However, the endgroup does not support any additional argument. As a result, it is not possible to uniquely identify the matching start and end statements, thus, preventing nesting, hierarchical view, etc.

The implementation of this feature in other services allows using a keyword to match open and close statements.

Code Snippet

echo "::group::Title"
echo "Foo"
echo "::endgroup::"

Possible enhancement:

echo "::group::mykey::Title"
echo "Foo"
echo "::endgroup::mykey::"

Additional information

Since composite actions can include other actions (up to 10 levels of hierarchy), log groups are likely to conflict. Keywords might be implicitly used for enhancing the current UI.

Refs: #802 #1272 #1279 #1404

/cc @thboop @andreineculau @pbartolome

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the existing handling of the ::group:: and ::endgroup:: workflow commands in the runner and reviewing the related issues #802, #1272, #1279, and #1404. The work is complete when named opening and closing statements are consistently recognized, including the proposed syntax and the nesting or hierarchy behavior described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ci-cd, devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.