Page MenuHomePhabricator

Replace "DiffusionCommitListView" with "DiffusionCommitGraphView"
ClosedPublic

Authored by epriestley on Jul 12 2020, 3:41 PM.
Tags
None
Referenced Files
F14094594: D21412.diff
Mon, Nov 25, 4:28 PM
Unknown Object (File)
Thu, Nov 21, 3:49 AM
Unknown Object (File)
Mon, Nov 18, 5:45 PM
Unknown Object (File)
Fri, Nov 1, 8:09 PM
Unknown Object (File)
Oct 23 2024, 8:30 AM
Unknown Object (File)
Oct 19 2024, 9:40 AM
Unknown Object (File)
Oct 19 2024, 5:59 AM
Unknown Object (File)
Oct 16 2024, 3:51 PM
Subscribers
None

Details

Summary

Ref T13552. This older view mostly duplicates other code and has only two callsites:

  • The "Commits" section of user profile pages.
  • The "Ambiguous Hash" page when you visit a commit hash page which is an ambiguous prefix of two or more commit hashes.

Replace both with "DiffusionCommitGraphView".

Test Plan
  • Visited profile page, clicked "Commits".
  • Visited an ambiguous hash page (rPbd3c23).

Diff Detail

Repository
rP Phabricator
Branch
publish9
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 24776
Build 34174: Run Core Tests
Build 34173: arc lint + arc unit

Unit TestsFailed

TimeTest
512 msPhabricatorLibraryTestCase::testEverythingImplemented
EXCEPTION (Exception): Source file "/Users/epriestley/dev/core/lib/phabricator/src/applications/diffusion/view/DiffusionCommitListView.php" failed to load. #0 /Users/epriestley/dev/core/lib/arcanist/src/init/lib/PhutilBootloader.php(207): PhutilBootloader->executeInclude('/Users/epriestl...') #1 /Users/epriestley/dev/core/lib/arcanist/src/symbols/PhutilSymbolLoader.php(422): PhutilBootloader->loadLibrarySource('phabricator', 'applications/di...')
1,108 msPhabricatorLibraryTestCase::testEverythingImplemented
EXCEPTION (Exception): Source file "/core/data/drydock/workingcopy-86/repo/phabricator/src/applications/diffusion/view/DiffusionCommitListView.php" failed to load. #0 /core/data/drydock/workingcopy-86/repo/arcanist/src/init/lib/PhutilBootloader.php(207): PhutilBootloader->executeInclude('/core/data/dryd...') #1 /core/data/drydock/workingcopy-86/repo/arcanist/src/symbols/PhutilSymbolLoader.php(422): PhutilBootloader->loadLibrarySource('phabricator', 'applications/di...')
370 msPhabricatorLibraryTestCase::testLibraryMap
Assertion failed, expected 'true' (at PhutilLibraryTestCase.php:51): The library map is out of date. Rebuild it with `arc liberate`. These entries differ: class.DiffusionCommitListView, xmap.DiffusionCommitListView.
1,201 msPhabricatorLibraryTestCase::testLibraryMap
Assertion failed, expected 'true' (at PhutilLibraryTestCase.php:51): The library map is out of date. Rebuild it with `arc liberate`. These entries differ: class.DiffusionCommitListView, xmap.DiffusionCommitListView.
109 msPhabricatorLibraryTestCase::testMethodVisibility
EXCEPTION (Exception): Source file "/Users/epriestley/dev/core/lib/phabricator/src/applications/diffusion/view/DiffusionCommitListView.php" failed to load. #0 /Users/epriestley/dev/core/lib/arcanist/src/init/lib/PhutilBootloader.php(207): PhutilBootloader->executeInclude('/Users/epriestl...') #1 /Users/epriestley/dev/core/lib/arcanist/src/symbols/PhutilSymbolLoader.php(422): PhutilBootloader->loadLibrarySource('phabricator', 'applications/di...')
View Full Test Results (6 Failed · 419 Passed · 2 Skipped)

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jul 12 2020, 3:42 PM
Harbormaster failed remote builds in B24776: Diff 50956!
This revision was not accepted when it landed; it landed in state Needs Review.Aug 12 2020, 3:59 PM
This revision was automatically updated to reflect the committed changes.