[STAGING][CONFIG-005] OBS Meta and staging.config inconsistency #74

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

Test Steps

  1. Create a package PR with a staging.config file setting ObsProject to "ProjectA".
  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 to return metadata where the project Name is "ProjectB" instead of "ProjectA".
  5. Trigger the bot to process the PR.

Expected Results

  1. The staging bot requests changes with the comment: "OBS Meta and staging.config are inconsistent".
**Test Steps** 1. Create a package PR with a `staging.config` file setting `ObsProject` to "ProjectA". 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` to return metadata where the project `Name` is "ProjectB" instead of "ProjectA". 5. Trigger the bot to process the PR. **Expected Results** 1. The staging bot requests changes with the comment: "OBS Meta and staging.config are inconsistent".
atartamo added the
bot
staging
status
todo
labels 2026-03-04 14:38:08 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: git-workflow/tests#74