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)
Thu, Apr 11, 4:09 AM
Unknown Object (File)
Tue, Apr 9, 8:20 AM
Unknown Object (File)
Tue, Apr 2, 2:07 AM
Unknown Object (File)
Thu, Mar 28, 3:59 AM
Unknown Object (File)
Mar 16 2024, 10:31 AM
Unknown Object (File)
Mar 5 2024, 5:35 AM
Unknown Object (File)
Mar 1 2024, 4:11 AM
Unknown Object (File)
Feb 21 2024, 12:07 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