Repository navigation
Conversation
evgenyrp
force-pushed
the
lando-backout-action
branch
from
November 26, 2026 21:24
80d2d7b to
becd9f1
Compare
Contributor
Author
|
@suhaibmujahid @zzzeid the PRs are updates to use the new Lando API. To test it on Hackbot Dev we need to |
Member
We already have that configured and points to https://lando-dev.allizom.org. |
zzzeid
requested changes
Nov 27, 2026
evgenyrp
force-pushed
the
lando-backout-action
branch
from
November 30, 2026 21:26
becd9f1 to
f6736f7
Compare
Contributor
Author
|
@suhaibmujahid @zzzeid, all comments are addressed; pls have another look. We can also deploy it to Hackbot Dev to test integration with Lando Dev a bit later. |
ayoubdiourin7
approved these changes
Nov 30, 2026
Co-authored-by: Ayoub <123955377+ayoubdiourin7@users.noreply.github.com>
evgenyrp
force-pushed
the
lando-backout-action
branch
from
December 1, 2026 19:21
ea24d46 to
4aa9f42
Compare
Contributor
Author
|
@suhaibmujahid I tested it on dev but it's saying the headless token is not configured: https://hackbot-dev.allizom.org/runs/01a23345-1a1f-7649-b5db-a9f419e4693c |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #7082. The test-repair agent uses it in #7105.
Adds a
lando.backoutaction that has Lando back out a landed commit with its headless APIrevertaction (mozilla-conduit/lando#1563).lando-client:revert_commit(POST /api/repo/{repo}with{"action": "revert", "commit": ...}),LANDO_HEADLESS_API_TOKENhackbot-runtime:actions.lando.record_backoutrecords the repo and the full commit shahackbot-api:BackoutHandlersubmits the revert and links the Lando jobLando writes the message itself (
git revert --no-edit:Revert "<subject>"/This reverts commit <sha>.) and only reverts commits landed in the last 24 hours.Deployment: hackbot-api needs
LANDO_HEADLESS_API_TOKENfor an account withmain.can_revert_commits, andfirefox-autolandhas to be in Lando'sREVERT_ALLOWED_REPOS. The OIDCLANDO_ACCESS_TOKENused for try pushes is not accepted by the headless API.