Has anyone else experienced an issue where adding ...
# report-bugs
z
Has anyone else experienced an issue where adding a PR to the Graphite merge queue ends up with the CI permanently stuck on "Expected โ€” Waiting for status to be reported"? This then blocks our entire merge queue... We're using Github Actions and it looks like the required workflows just never get triggered for the PR. Seems to only happen ~30% of the time. graphite Example PR
โž• 4
โœ… 1
p
(If applicable) To help us repro, please send the following if you haven't already: - PR links, screenshots, and/or debug output if applicable - Repro steps - Does this happen consistently? Just to you or others on your team also? - Is this a regression? Is the problem new? - If you're having an issue with the CLI, please send us debug logs using
gt feedback --with-debug-context <any message>
z
Happens to multiple different people in the team, across 3 different repos with completely separate CI setups, one of which doesn't have Graphite merge queue enabled. Seemed to start ~2 weeks ago.
p
Hey Zeshan, sorry you're running into this. Are these checks mandatory for merging, and are they blocking merge?
z
Yep theyโ€™re required checks, so the PR just sits blocking the merge queue
p
Not really sure what's going on, but I'll open a bug report for this. In the meantime, I'm wondering if it's worth filing a ticket with Github for this, since it's the Github Action that isn't running, and it the CI status is pending rather than skipped.
๐Ÿ‘ 1
z
Thanks Meilinda! This is what Github have said so far โ€“ I do wonder if there's something funky going on with the way Graphite changes base branches etc. during the merge that makes this more prevalent.
๐Ÿ‘ 1
p
Thanks for sending! Keep me posted!
Will let the team know about this in the meantime :)
โค๏ธ 1
ty 1
a
Our org is experiencing the same issue. It didnโ€™t happen at all before starting to use Graphite. My thought was also that it would be GitHub issue, but it started happening after everyone moved to using Graphite.
โž• 4
r
Chiming in that we're seeing this too (org: ReflexTechnologies). Thanks Zeshan for leading the way with the GH bug report! https://graphite-community.slack.com/archives/C02DRNRA9RA/p1744937324865649
โค๏ธ 1
t
I've had a few instances of this, myself, since beginning to use
optimize_ci
Let me know if there's someone i can message with the PR link next time I notice it so Graphite engineers can investigate.
โค๏ธ 1
p
You can just DM me @Tyler Nieman! Same goes for everyone else if you see this please feel free to send me the PR. And @Zeshan Amjad lmk if GH gives you any updates.
๐Ÿ‘€ 1
This is a Github issue that we've actually reported to them in the past, but has never been resolved.
z
GitHub engineering are still looking into it sad parrot
๐Ÿ™Œ 1
p
Hey guys one workaround for now would be to push a blank commit up to retrigger CI.
๐Ÿ‘€ 1
t
I have an example PR where some actions are stuck ๐Ÿ™‚ But i dont see a way to actually DM you Melinda (there's no Melinda user in Slack AFAICT, you're using an app called Pylon to respond; do i DM that app?).
Also noting that restacking + pushing didn't seem to un-stuck it this time, though that has worked in the past.
p
Hi Tyler, feel free to DM it to me and I can get that example added to your ticket
a
Anecdotally it seems to happen more often when using โ€œMerge when readyโ€
t
^^^ Yes, good observation. Same.
e
Our organization is also experience this problem.
๐Ÿ‘ 1
p
Hey Edgar, for now you should use the workarounds mentioned above -- pushing a blank commit or closing and reopening a PR to kick off a new CI job. As mentioned before, likely a Github problem that we've communicated with them about in the past.
t
I have one PR/stack that's super jammed up. โŒ Closing + re-opening did not work โŒ Rebasing/restacking + forcepushing/submitting The same 3 checks are all still
Waiting for status to be reported
๐Ÿ˜ž
๐Ÿ˜” 1
๐Ÿ˜ญ 1
c
Hi my team is experiencing this too. Pushing an empty commit does fix it, but that's def not ideal. Going to try an reach out to github support as well
t
In my case: I actually figured out that the workflow i was using had some issues. I didn't have
secrets: inherit
from another workflow it was using the result of; see my post for the full workflows.
๐Ÿ‘ 1
c
okay so i just realized that this became a big issue for my team in the last few days because we updated GHAs to not run if the base branch was
graphite-base/*
(as recommended by the docs), because that was messing up GHAs that depended on the git diff for a PR (e.g. run x tests if y files were changed; failed bc
graphite-base/*
was the base ref and it no longer exists by the time the GHA actually runs, and the ref was cached in GHAs so rerunning wouldn't fix)
๐Ÿ‘€ 1
z
Hi Zeshan,
Thank you for your patience.
Github Engineering have pushed a fix aimed at resolving the issue so you would not need the workaround. Could you please let me know if you've run into this behavior this week? (from 19th May)
โœ… Update from Github ๐Ÿ™‚
๐Ÿ‘€ 1
โค๏ธ 1