Page MenuHomePhabricator

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

Authored by joshuaspence on Oct 4 2018, 12:02 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 1:44 PM
Unknown Object (File)
Thu, Nov 14, 11:21 PM
Unknown Object (File)
Thu, Nov 14, 12:40 AM
Unknown Object (File)
Sun, Nov 10, 11:54 AM
Unknown Object (File)
Sun, Nov 10, 2:32 AM
Unknown Object (File)
Wed, Nov 6, 1:02 AM
Unknown Object (File)
Fri, Oct 25, 8:41 PM
Unknown Object (File)
Thu, Oct 24, 7:10 AM
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