Periodic update script doesn't mark old phabricator revisions as obsolete
Categories
(Release Engineering :: General, defect, P1)
Tracking
(firefox-esr91 fixed, firefox95 wontfix, firefox96 wontfix, firefox97 verified)
People
(Reporter: RyanVM, Assigned: jcristau)
References
Details
Attachments
(1 file)
When the periodic update script runs, it's supposed to automatically abandon any already-existing revisions that are currently opened:
https://searchfox.org/mozilla-central/source/taskcluster/docker/periodic-updates/scripts/periodic_file_updates.sh#436
This doesn't appear to be working anymore, which leads to situations where two weeks' worth of updates can pile up in Phabricator when people are away and not able to review & land them.
Assignee | ||
Comment 1•2 years ago
|
||
Looking at the latest log on beta (https://firefoxci.taskcluster-artifacts.net/OTfjfUyISfOGhIdONkkIbg/0/public/logs/live_backing.log), we see:
++ /usr/bin/arc list
++ grep 'Needs Review'
++ grep -E 'mozilla-beta repo-update'
++ awk 'match($0, /D[0-9]+[^: ]/) { print substr($0, RSTART, RLENGTH) }'
+ for diff in $($ARC list | grep "Needs Review" | grep -E "${BRANCH} repo-update" | awk 'match($0, /D[0-9]+[^: ]/) { print substr($0, RSTART, RLENGTH) }')
Removing old request D134868
+ echo '{"transactions": [{"type":"abandon"}], "objectIdentifier": "D134868"}'
+ arc call-conduit differential.revision.edit
{"error":"ERR-CONDUIT-CORE","errorMessage":"ERR-CONDUIT-CORE: Parameter \"transactions\" must contain a list of transaction descriptions, but item with key \"0\" is missing a \"value\" field. Each transaction must have a value field.","response":null}
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
conduit transactions need both a type and value.
Assignee | ||
Updated•2 years ago
|
Pushed by jcristau@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2d4ab3d0002e fix conduit API error marking old repo-update revisions as abandoned. r=releng-reviewers,jmaher DONTBUILD
Comment 4•2 years ago
|
||
bugherder |
Assignee | ||
Comment 5•2 years ago
|
||
96 can do without this. Maybe we can trigger the hook manually on central to verify things work there before we uplift to esr91.
Reporter | ||
Comment 6•2 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 7•2 years ago
|
||
Verified on central, D135068 was marked abandoned by the task that submitted https://phabricator.services.mozilla.com/D135150
Description
•