[STAGING][COMMENT-002] Allow repeated comments if a new commit is pushed #69

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

Test Steps

  1. Create a package PR.
  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 result list with a "success" state (e.g., code="succeeded") and let the bot run.
  5. Push a new commit to the PR.
  6. Mock the OBS result list for the new commit with a "success" state.
  7. Let the bot run again.

Expected Results

  1. The staging bot adds a "Build successful" comment for the first commit.
  2. The staging bot adds a second "Build successful" comment for the second commit.
**Test Steps** 1. Create a package PR. 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 result list with a "success" state (e.g., `code="succeeded"`) and let the bot run. 5. Push a new commit to the PR. 6. Mock the OBS result list for the new commit with a "success" state. 7. Let the bot run again. **Expected Results** 1. The staging bot adds a "Build successful" comment for the first commit. 2. The staging bot adds a second "Build successful" comment for the second commit.
atartamo added the
bot
staging
status
todo
labels 2026-03-04 14:38:05 +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#69