Page MenuHomePhabricator

Allow `buildFutures` and `resolveFutures` to be overridden
ClosedPublic

Authored by joshuaspence on Oct 4 2018, 12:02 AM.
Tags
None
Referenced Files
F15467773: D19730.id47147.diff
Thu, Apr 3, 5:56 PM
F15465690: D19730.id.diff
Wed, Apr 2, 10:02 PM
F15464465: D19730.id48916.diff
Wed, Apr 2, 9:47 AM
F15461509: D19730.diff
Tue, Apr 1, 8:49 AM
F15454856: D19730.id48925.diff
Sat, Mar 29, 8:52 PM
F15451305: D19730.id.diff
Fri, Mar 28, 9:21 PM
F15451075: D19730.diff
Fri, Mar 28, 7:59 PM
F15424246: D19730.id47147.diff
Sat, Mar 22, 9:06 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

I am writing a proxy linter that can be used to wrap any ArcanistExternalLinter and execute all commands within a Docker container (see [[https://github.com/freelancer/flarc/blob/master/src/lint/linter/ArcanistDockerContainerLinterProxy.php |ArcanistDockerContainerLinterProxy]] from [[https://github.com/freelancer/flarc | flarc]]). In order for ArcanistDockerContainerLinterProxy to behave like the ArcanistExternalLinter that is being proxied, final needs to be removed from some methods.

I figured this was reasonable to submit upstream as a similar change (D19630: Allow `willLintPaths` and `didLintPaths` to be overridden) was previously accepted.

Test Plan

N/A

Diff Detail

Repository
rARC Arcanist
Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 20987
Build 28508: Run Core Tests
Build 28507: arc lint + arc unit

Unit TestsFailed

TimeTest
639 msArcanistJSHintLinterTestCase::Unknown Unit Message ("")
In 'jshint.lint-test', expected lint to raise error on line 9 at char 0, but no error was raised. Actually raised: warning at line 3, char 8: W033 JSHintW033 error at line 7, char 1: E019 JSHintE019
609 msArcanistPuppetLintLinterTestCase::Unknown Unit Message ("")
Assertion failed, expected values to be equal (at ArcanistLinterTestCase.php:168): Some linters failed: - CommandException: Command failed with error #1! COMMAND
3,157 msArcanistRuboCopLinterTestCase::Unknown Unit Message ("")
In 'warning.lint-test', expected lint to raise warning on line 1 at char 11, but no warning was raised. Actually raised: No messages.
81 msArcanistChmodLinterTestCase::Unknown Unit Message ("")
5 assertions passed.
18 msArcanistClosureLinterTestCase::Unknown Unit Message ("")
1 assertion passed.
View Full Test Results (3 Failed · 25 Passed · 27 Skipped)

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Oct 4 2018, 12:02 AM
Harbormaster failed remote builds in B20987: Diff 47147!
This revision is now accepted and ready to land.May 14 2019, 2:21 PM