Skip to content

Old Scheduled Action Tasks Not Cleared When Creating Remove Scheduled Task Configuration Commits #27650

@ExplodingDragon

Description

@ExplodingDragon

Description

After I remove the existing cron configuration, gitea does not remove the scheduled tasks from the database,

image

Configuration parsing fails and ends without clearing the old cron task.

image

workflows, schedules, err := actions_module.DetectWorkflows(gitRepo, commit, input.Event, input.Payload)
if err != nil {
return fmt.Errorf("DetectWorkflows: %w", err)
}

Gitea Version

main

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

systemd

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions