arcanist takes a long time to submit a patch that includes `mach vendor rust`'s changes
Categories
(Conduit :: moz-phab, defect, P2)
Tracking
(Not tracked)
People
(Reporter: Yoric, Unassigned)
References
Details
(Keywords: conduit-triaged)
Attachments
(1 file, 2 obsolete files)
|
855.90 KB,
text/plain
|
Details |
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
| Reporter | ||
Comment 3•8 years ago
|
||
| Reporter | ||
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 6•8 years ago
|
||
| Comment hidden (offtopic) |
| Comment hidden (offtopic) |
Updated•7 years ago
|
Comment 10•7 years ago
|
||
This should block requiring phabricator for reviews. WDYT?
Comment 11•7 years ago
|
||
some diagnosis to feed into our discussion/decision:
D8380 is a large change - it looks like 24 packages were changed in the Cargo.lock file (97 lines), resulting in 232 files being updated.
- ~45 minutes spent marking 16 files as binary
the logs have
Do you want to mark these files as binary and continue? [Y/n]
prior to bug 1522391 this would have hung moz-phab waiting for confirmation.
there's another earlier confirmation in the log regarding reusing an old commit description; that also would have caused moz-phab to hang.
- It seems to be uploading lots of data. For a 3.7 Mb patch, if I read the logs correctly, it has so far uploaded ~6Mb of data.
how phabricator's file context works is it uploads the full version of each file, even if only one line in the file has changed.
bug 1517247 comment 2 talks about detecting this and offering to switch to a context-less upload.
- It has now been running for ~90 minutes and shows no sign of stopping.
Ok, after 3h30 on a fast connection, it seems to have finished uploading.
this is concerning however as the version of moz-phab that generated the logs doesn't have timestamps it's hard to know exactly where the slowdown was (timestamps are now part of the debug output).
Comment 12•7 years ago
|
||
the answer to the core question - should this issue block the switch to phabricator - is no. we'll continue as planned, but focus on improving submission performance on several fronts.
-
the policy around reviewing of vendored code is still in flux. i've been chatting with several people to determine the best approach here that balances security and the viability of reviewing massive changes. for
mach vendor rustspecifically the advice for now is to break the change into smaller parts (e.g. updateCargo.lockone-by-one). as long as these changes are part of the same stack they will land as part of the same push. -
dealing with binary files is a problem - bug 1521980. we're working through our options there in the short term while we still rely on
arc -
upload performance of massive patches is something that upstream have sent strong signals that it's an issue they will not focus on. our plan here is to stop using
arccompletely. this will give us much more control over what is uploaded and how. this work is expected to be completed before the end of Q2.
Comment 13•7 years ago
|
||
IIUC the fundamental reason why these kind of issues need not block bug 1498171 is
If you’re doing something unusual that truly can’t be done with Phabricator, you can of course still attach a file to Bugzilla, and use a needinfo or IRC ping to get sign-off from the reviewer.
(In reply to Byron Jones ‹:glob› 🎈 from comment #12)
for
mach vendor rustspecifically the advice for now is to break the change into smaller parts (e.g. updateCargo.lockone-by-one). as long as these changes are part of the same stack they will land as part of the same push.
Just to be sure no-one reads too much into this advice, breaking up changes is only appropriate if/when the project builds with each single change. i.e. Each revision should be intended to build successfully.
Comment 14•7 years ago
|
||
the core fix for this issue is to stop relying on arc. duping to bug 1471687.
Description
•