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

Closed
opened 2025-11-02 11:29:22 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @nekrondev on GitHub (Oct 29, 2025).

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

Originally created by @nekrondev on GitHub (Oct 29, 2025). ### 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: ```yml 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 <img width="1898" height="221" alt="Image" src="https://github.com/user-attachments/assets/288db848-bc12-4638-b4f6-d485a69a04fb" /> ### 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
GiteaMirror added the type/bug label 2025-11-02 11:29:22 -06:00
Author
Owner

@nekrondev commented on GitHub (Oct 29, 2025):

Oh, just saw that someone was quicker than me so this is a duplicate of #35780.

@nekrondev commented on GitHub (Oct 29, 2025): Oh, just saw that someone was quicker than me so this is a duplicate of #35780.
Author
Owner

@lunny commented on GitHub (Nov 2, 2025):

This should be resolved by #35784

@lunny commented on GitHub (Nov 2, 2025): This should be resolved by #35784
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#15066