Skip to content
PatchbayDocs

Search documentation

Find a page

Open Patchbay

Help

Troubleshooting

Fix common problems with repositories, catalog files, pull request updates, project proposals and promotion.

A repository does not show in Patchbay⁠

Patchbay lists only the repositories that the Patchbay GitHub App can read. In a shared workspace, only workspace owners and administrators can change the connections.

  1. Open the workspace Settings, and under Integrations, click All integrations, then click GitHub.
  2. Make sure that the GitHub account that owns the repository is in the list. If it is not there, click Connect account.
  3. Open the status menu of the connection and select Configure in GitHub.
  4. On GitHub, give the app access to the repository, then save.

In the repository search, make sure that the scope menu shows the correct GitHub account. For a public repository, you can also choose the Public scope. Connect GitHub has more details.

A catalog file is ignored⁠

Patchbay reads a catalog file only when all of these are true:

  • The file name is exactly patchbay.yaml.
  • The file is at the root of the default branch of the repository.
  • The Patchbay GitHub App can read the repository, which is not the case for a repository that you added from the Public scope.
  • The file is 256 KiB or smaller.
  • The project field names the workspace that has the GitHub connection. If someone renamed the workspace, update the file to the new address.

If the project already exists, a project administrator must also turn on Catalog sync. To do this, open the project settings, click Sources, and turn on Catalog sync.

If the connection shows Changes may sync late, the installation does not send code updates. Patchbay then reads changes to the catalog file only on its regular scan. To read the file now, a project administrator can click Sync next to the repository in the Sources list of the project settings.

A catalog file is rejected⁠

When a catalog file has errors, Patchbay applies nothing from it and keeps the last valid version of the file in effect. You get a Correct the catalog file notification in the inbox with a list of findings. A warning icon also shows next to the repository in the Sources list of the project settings.

Each problem names the field it is about. These are the common causes:

  • The project field is not in the form <workspace>/<project>, or the project name is not valid.
  • The file has a field that the format does not support.
  • A component in a components list uses / as its root path. For a whole repository, remove the components list.
  • A component with the same name or the same folder already exists in the project.

Problems Patchbay reports lists every problem with its fix.

Labels or comments do not appear on a pull request⁠

Patchbay writes to pull requests only when the project asks for it, and the default setting is Off. You need the Admin role on the project to change this setting.

  1. Open the project settings and click Sources.
  2. Set Updates on pull requests to Labels, Comment or Comment and labels.

A comment needs write access to pull requests on the installation, and labels need write access to issues. If the access is missing, the setting shows a warning and Patchbay does not save it. To correct this, change the permissions of the app on GitHub, then select Refresh from GitHub in the status menu of the connection.

If the connection shows Suspended, Patchbay cannot update pull requests in that account until you unsuspend the app on GitHub. Follow pull requests on GitHub explains which pull requests get updates.

A project proposal waits for an administrator⁠

When a catalog file names a project that does not exist, Patchbay creates a project proposal and does not create the project by itself.

Only workspace owners and administrators see the Review project proposal notification in their inbox. Ask one of them to open it and click Create project & start genesis.

I cannot promote a candidate⁠

To promote a candidate, you need the Release manager role or higher on the project. With a lower role, Promote candidate is not available, and the same rule applies to Complete genesis.

Workspace owners and administrators have the Admin role on every project. To get the Release manager role, ask a project administrator, as Project access and roles explains.