mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-24 13:52:42 +00:00
Previously, the dependent PR workflow updated the comment as soon as all dependency PRs were merged in a way that removed the changes link that helps with identifying the start of review. If the PR hadn't yet been rebased or merged trunk, this made it hard to review again. =/ This PR fixes it by detecting when we haven't rebased or merged far enough to just review the PR as a whole, and preserves the review link. And once `trunk` _has_ been merged far enough (or PR has been rebased), updates the comment again to reflect that. This requires persisting the `review_base` in the hidden JSON of the comment, and somewhat more interesting API queries to manage this. Docs are also updated. Assisted-by: Antigravity with Gemini
GitHub
Scripts for use with GitHub.
See individual scripts for more details.