Page MenuHomePhabricator

Replace "DiffusionCommitListView" with "DiffusionCommitGraphView"
ClosedPublic

Authored by epriestley on Jul 12 2020, 3:41 PM.
Tags
None
Referenced Files
F13087254: D21412.diff
Thu, Apr 25, 12:55 AM
Unknown Object (File)
Fri, Mar 29, 3:06 PM
Unknown Object (File)
Mar 20 2024, 12:18 AM
Unknown Object (File)
Mar 15 2024, 8:01 PM
Unknown Object (File)
Feb 21 2024, 2:12 AM
Unknown Object (File)
Feb 19 2024, 7:47 AM
Unknown Object (File)
Jan 9 2024, 8:05 AM
Unknown Object (File)
Dec 27 2023, 2:49 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.