Skip to content

Re-running of workflow stalls in "waiting" state, unable to cancel.Β #35782

@nekrondev

Description

@nekrondev

Description

Current behavior

  • created a new repository and added a simple workflow
  • workflow was executed as commit had been pushed
  • after the workflow has ended I tried to re-run the workflow job
  • job shows "waiting" state and stalls
  • job can't be cancelled

Expected behavior

  • re-running jobs should start re-running them
  • "waiting" jobs (for example if a runner is busy processing other jobs) should be cancel-able

Additional info

Test workflow:

name: "Testworkflow"
on:
  push:
    branches: [main]

jobs:
  copy-files:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Create Release Notes
        id: release
        run: |
          exit 1

Gitea Version

1.25.0

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

Image

Git Version

2.49.1

Operating System

Docker container running on Ubuntu 22.04

How are you running Gitea?

Upgraded docker container test instance from v1.24.7 to v1.25.0.
Gitea runner version 0.2.13 in use.

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions