#7198·woodpecker

Deleted repository is accessible but not indexed in Woodpecker Web UI

Author: SethFalcoCreated Sep 29, 2026Updated Sep 29, 2026
Labelsbug

Component

web-ui

Describe the bug

A project becomes annoying to access on Woodpecker CI web UI when the project has been deleted in the upstream VCS.

It disappears from the "Repositories" tab, but is still accessible directly via the URL if one knows the project ID.

Steps to reproduce

  1. Create a project on a forge (like codeberg.org)
  2. Add a repository to Woodpecker CI
  3. Get the project ID
  4. Delete the project from the forge
  5. Visit "Repositories" (observe that the project no longer appears here anymore)
  6. Visit example.com/repos/:id (observe that this is still accessible)

Expected behavior

One of two things, with a strong preference towards the first:

1. Annotate Orphaned Projects

The repository should continue to be shown in the "Repositories" tab, with an icon / label indicating it's lost its connection to or has been orphaned from the upstream project.

I prefer this because I'm in the middle of migrating one of my private projects from codeberg.org to a self-hosted Forgejo instance, and think the server should preserve the settings, secrets, etc of the project so that it can be migrated before manual deletion.

I think an icon makes the most sense—it can be positioned where the "Project visibility: Private" currently goes, replacing it if the project was private before.

A quick mock up in DevTools (Inspector):

Image

(The project wasn't actually deleted/orphaned. Just messed with the HTML.)

The icon in the mock up is FontAwesome's link-slash.

2. Delete it Thoroughly

Alternatively, if the intent is to delete projects from Woodpecker when they're deleted upstream, then I'd expect a direct URL to the project on Woodpecker to 404 as well. Right now it's inconsistent because it does not show up under "Repositories" but if one knows the ID, they can navigate to it directly.

System Info

bash
{
  "source": "https://github.com/woodpecker-ci/woodpecker",
  "version": "next-fc3405d010"
}

I've tested v3.18.0, v3.18.1, and next-fc3405d010, all of them exhibit the same behavior.

Additional context

No response

Validations

Source: woodpecker-ci/woodpecker