Skip to content

Annotations from composite actions are not correctly created #1742

@konradpabjan

Description

@konradpabjan

Describe the bug
Only a single annotation gets created in composite actions. Every single annotation (error, warning, notice) with the exception of the last one gets ignored

To Reproduce

Steps to reproduce the behavior:

  1. Create a simple composite actions that generates annotations
name: 'Annotation example'
description: Test annotations
runs:
  using: "composite"
  steps:
    - run: echo Hello there once!
      shell: bash
    - name: Testing the Error Workflow Command
      run: echo "::error::Testing error"
      shell: bash
    - run: echo Hello there
      shell: bash
    - name: Testing the Error Workflow Command
      run: echo "::error::Testing error"
      shell: bash
    - name: Testing the Error Workflow Command
      run: echo "::warning::Testing warning"
      shell: bash
    - name: Testing the Error Workflow Command
      run: echo "::notice::Testing notice"
      shell: bash
  1. Run the workflow from another repository (or locally)

Expected behavior
Every single annotation gets created.

Runner Version and Platform

Version of your runner? 2.288.1

Tested using Linux but probably busted for everything

What's not working?

Here is an example run: https://github.com/konradpabjan/Testing2/actions/runs/1958916121

Currently at most only one gets created and it's always the last one

image

Job Log Output

☝️ Only the notice annotations is created while the other annotations do not show up. In the logs though the behavior is expected

image

Runner and Worker's Diagnostic Logs

Not provided since I used hosted for testing, but it should be easy to get with the repro

Metadata

Metadata

Assignees

Labels

Runner BugBug fix scope to the runnerbugSomething isn't workingcomposite

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions