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)
Tue, Jan 21, 12:35 PM
Unknown Object (File)
Mon, Jan 20, 1:32 PM
Unknown Object (File)
Sat, Jan 18, 10:01 PM
Unknown Object (File)
Thu, Jan 16, 2:28 PM
Unknown Object (File)
Tue, Dec 31, 8:36 PM
Unknown Object (File)
Dec 24 2024, 5:14 PM
Unknown Object (File)
Dec 13 2024, 1:56 AM
Unknown Object (File)
Nov 26 2024, 5:50 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