[STAGING][CONFIG-003] Reference project not found in OBS #72

Open
opened 2026-03-04 14:38:06 +01:00 by atartamo · 0 comments
Owner

Test Steps

  1. Create a package PR with a valid staging.config file.
  2. Wait for the workflow-pr bot to create the related project PR.
  3. Wait for staging-bot to be added as a reviewer and ensure it is listed in the required reviewers for the project PR.
  4. Mock the OBS API GetProjectMeta for the specified ObsProject to return an error (e.g., 404 Not Found).
  5. Trigger the bot to process the PR.

Expected Results

  1. The staging bot requests changes with the comment: "Cannot fetch reference project meta".
**Test Steps** 1. Create a package PR with a valid `staging.config` file. 2. Wait for the `workflow-pr` bot to create the related project PR. 3. Wait for `staging-bot` to be added as a reviewer and ensure it is listed in the required reviewers for the project PR. 4. Mock the OBS API `GetProjectMeta` for the specified `ObsProject` to return an error (e.g., 404 Not Found). 5. Trigger the bot to process the PR. **Expected Results** 1. The staging bot requests changes with the comment: "Cannot fetch reference project meta".
atartamo added the
bot
staging
status
todo
labels 2026-03-04 14:38:06 +01:00
Sign in to join this conversation.