Skip to content

ci: calmer regen alerts that name breaking tickets, three integration attempts - #142

Open
mogita wants to merge 5 commits into
masterfrom
chore/regen-alert-wording
Open

mogita wants to merge 5 commits into
masterfrom
chore/regen-alert-wording

Conversation

@mogita

@mogita mogita commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Problem

Regen alerts in #openapi-sdks look like incidents: every post carries a warning sign, and a flaky integration run on the shared test app pings the server-sdk group after one rerun. A breaking hold also does not say which approved tickets caused it.

Solution

  • Rerun a red or cancelled Regen integration run for up to three attempts instead of one rerun. The third red attempt posts getstream-php regen #N is waiting: integration tests failed 3 times. SDK bot needs a human to check.
  • A breaking hold lists the approved tickets the PR's spec adds over the base branch's spec, linked to Linear (the first three, then "and N more"): getstream-php regen #N is held as breaking: CHA-7525 (2026-12-02). Label sdk-not-breaking if no customer can hit them, otherwise hold for the next window. With no added ticket it says no approved ticket explains it; if the lookup fails, it points to the PR body and the Breaking changes check.
  • Drop :warning: and "auto-" from every post. Who gets mentioned is unchanged.
  • Update the rerun line in README.md.

How to verify

  1. actionlint .github/workflows/regen.yml reports the same findings as on the base branch, only with shifted line numbers.
  2. The new new_tickets and held helpers ran locally against real protocol specs with gh stubbed: openapi-v241.35.1 to openapi-v241.35.2 names CHA-7525 (2026-12-02), equal specs give the no-ticket line, a failed lookup gives the fallback line, and a base without a ticket list gives three tickets "and 30 more".
  3. After merge, the next held or thrice-red regen posts the new wording.

@getstream-metis

getstream-metis Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

👋 Thanks, 🌵! I'm on it.

How to work with me

  • 💬 Disagree with a finding? Reply in its thread and tell me why. I'll withdraw it, or answer with evidence.
  • 🔁 Fixed it? Just push. The next round checks your fix and resolves the thread.
  • 👍 👎 Rate my findings. I learn what your team doesn't want flagged.
  • ✅ I approve once nothing blocking is left: must-fix always blocks, should-fix only in the first two rounds. CI isn't part of that; branch protection still holds the merge until it's green. On repos that require a human approval, a teammate still has to approve too.
Commands

Comment any of these on the PR:

  • /jeffery review · start a review
  • /jeffery next-round · start the next round now
  • /jeffery pause · /jeffery resume · stop or restart reviews on this PR
  • /jeffery status · where things stand
  • /jeffery help · all commands

@getstream-metis getstream-metis Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 1 · 🆕 1 new · nothing blocking

➡️ Round 2 started on cf7f801.

Comment thread .github/workflows/regen.yml Resolved
getstream-metis[bot]
getstream-metis Bot previously approved these changes Dec 3, 2026

@getstream-metis getstream-metis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Approved · round 1

Nice work, 🌵! Nothing blocking is left on 89ef730f1ea5. Ship it 🚀

Left open, your call:

@getstream-metis
getstream-metis Bot dismissed their stale review December 3, 2026 15:54

Withdrawing approval until cf7f801 is reviewed.

@getstream-metis getstream-metis Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 2 · 🆕 1 new · nothing blocking

➡️ Round 3 started on e86fbc4.

Comment thread .github/workflows/regen.yml Resolved
getstream-metis[bot]
getstream-metis Bot previously approved these changes Dec 3, 2026

@getstream-metis getstream-metis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Approved · round 2

Nice work, 🌵! Nothing blocking is left on cf7f80159f82. Ship it 🚀

Left open, your call:

@getstream-metis
getstream-metis Bot dismissed their stale review December 3, 2026 16:24

Withdrawing approval until 3790687 is reviewed.

@mogita

mogita commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/jeffery review

@getstream-metis getstream-metis Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 3 · 🆕 1 new · nothing blocking

➡️ Round 4 started on 78dc60b.

Comment thread .github/workflows/regen.yml Resolved
getstream-metis[bot]
getstream-metis Bot previously approved these changes Dec 3, 2026

@getstream-metis getstream-metis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Approved · round 3

Nice work, 🌵! Nothing blocking is left on e86fbc4fb795. Ship it 🚀

Left open, your call:

@getstream-metis
getstream-metis Bot dismissed their stale review December 3, 2026 16:37

Withdrawing approval until 78dc60b is reviewed.

@getstream-metis getstream-metis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 4 · ✅ 2 fixed · 🎉 Approved

Nice work, 🌵! Nothing blocking is left on 78dc60b1a135. Ship it 🚀

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant