Skip to content

Can't click on re-run action job until all done #36584

@xlazom00

Description

@xlazom00

Description

User can't click on re-run button when something is running. This is really a issue when we want to rerun multiple failed jobs.

on:
  push:
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - run: echo "This job is now running on a ${{ runner.os }} server"
  test:
    needs: build
    runs-on: ubuntu-latest
    strategy:
      fail-fast: false
      max-parallel: 3
      matrix:
        ci_index: [0, 1]
    steps:
    - run: echo "This job is now running on a ${{ runner.os }} server"
    - name: Sleep 
      run: |
        delay=$(( ${{ matrix.ci_index }} * 5 ))
        sleep "${delay}"
    - name: error 
      run: |
        exit 1

Steps to reproduce:

  1. use provided yaml
  2. run actions
Image
  1. click rerun on test (0)
  2. can't click rerun on test (1)
Image

Expected behavior:
User should be able to click on multiple failed jobs one after another.
For now when I press re-run on 0. failed job I can't click on re-run on 1. And I need to wail until all done.
I think that rerun buttons should be available all the time.

Gitea Version

1.25.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

windows

How are you running Gitea?

I did test it on https://demo.gitea.com/

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/gitea-actionsrelated to the actions of Giteatype/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions