Skip to content

Support named log groups #1477

@umarcor

Description

@umarcor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfutureFeature work that we haven't prioritized

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions