Page MenuHomePhabricator

Implement "Warn When Landing" behavior for Build Plans in Arcanist
ClosedPublic

Authored by epriestley on Mar 1 2019, 2:13 PM.
Tags
None
Referenced Files
F18798560: D20236.id48341.diff
Fri, Oct 17, 6:52 AM
F18780538: D20236.id.diff
Sun, Oct 12, 5:04 PM
F18777648: D20236.id48303.diff
Sat, Oct 11, 4:13 AM
F18733922: D20236.id.diff
Tue, Sep 30, 10:44 PM
F18402927: D20236.id.diff
Aug 29 2025, 8:41 PM
F18110594: D20236.id48303.diff
Aug 11 2025, 9:30 PM
F18107305: D20236.id48342.diff
Aug 11 2025, 12:02 AM
F18100362: D20236.diff
Aug 9 2025, 11:51 AM
Subscribers
None

Details

Summary

Ref T13258. This makes "arc land" respect the new "Warn When Landing" behavior.

This will only work if you have very up-to-date APIs. Just fall back to the older code if the new API calls fail.

Test Plan

Ran arc land on a revision with builds in various states and with the different "Warn When Landing" behaviors. Saw appropriate warnings.

Diff Detail

Repository
rARC Arcanist
Branch
land1
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/workflow/ArcanistLandWorkflow.php:1466XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 22200
Build 30346: Run Core Tests
Build 30345: arc lint + arc unit

Event Timeline

amckinley added inline comments.
src/workflow/ArcanistLandWorkflow.php
1588

"despite ongoing build"

1611

Could the conduit URI ever be something != the web UI URI?

This revision is now accepted and ready to land.Mar 5 2019, 8:04 PM
src/workflow/ArcanistLandWorkflow.php
1611

Today, they're always the same.

With SSH conduit URIs in the future, they could differ. We just don't currently have a better source for this.

(The API should probably return a "uri".)

This revision was automatically updated to reflect the committed changes.