Page MenuHomePhabricator
Feed All Stories

Jan 26 2021

epriestley requested review of D21523: Return Git HTTP error messages in an HTTP header.
Jan 26 2021, 11:59 PM
epriestley added a revision to T13590: Large HTTP repository pushes may leave clustered repository write lock held: D21523: Return Git HTTP error messages in an HTTP header.
Jan 26 2021, 11:58 PM · Diffusion
epriestley closed T13593: Testing for changed refs in repositories with >65K refs misses ref cache as Resolved.

This at least resolved the obvious badness in the case of PHI1979.

Jan 26 2021, 11:04 PM · Diffusion
epriestley closed T13595: Browsing directories with submodules fails with bad call to "setExternalURI()" as Resolved.

However, the existence of the original code might point at a bug in the "Variable Reused as Iterator" lint check: I would expect it to have prevented the original code in the first place.

Jan 26 2021, 11:03 PM · Diffusion, Lint
epriestley committed rPacd767c7f33d: Allow "differential.createinline" to accept JSON "false" for "isNewFile" (authored by epriestley).
Allow "differential.createinline" to accept JSON "false" for "isNewFile"
Jan 26 2021, 10:56 PM
epriestley closed D21522: Allow "differential.createinline" to accept JSON "false" for "isNewFile".
Jan 26 2021, 10:56 PM
epriestley requested review of D21522: Allow "differential.createinline" to accept JSON "false" for "isNewFile".
Jan 26 2021, 10:49 PM
epriestley committed rP510bdc74dbc3: (stable) Fix a "setExternalURI()" fatal while browsing directories with… (authored by epriestley).
(stable) Fix a "setExternalURI()" fatal while browsing directories with…
Jan 26 2021, 8:31 PM
epriestley committed rPe31b0c85362b: (stable) Improve performance of repository discovery in repositories with >65K… (authored by epriestley).
(stable) Improve performance of repository discovery in repositories with >65K…
Jan 26 2021, 8:31 PM
epriestley committed rPed86c42b26b0: Improve performance of repository discovery in repositories with >65K refs (authored by epriestley).
Improve performance of repository discovery in repositories with >65K refs
Jan 26 2021, 8:27 PM
epriestley closed D21521: Improve performance of repository discovery in repositories with >65K refs.
Jan 26 2021, 8:27 PM
epriestley added a comment to T13592: Initial discovery in large repositories may take an unreasonably long amount of time.

As a coarse first pass at this, forcing the commit cache to fail results in a full discovery of the Linux repository in 14 seconds, versus 2m36s with normal cache behavior.

Jan 26 2021, 8:26 PM · Diffusion
epriestley requested review of D21521: Improve performance of repository discovery in repositories with >65K refs.
Jan 26 2021, 7:11 PM
epriestley added a revision to T13593: Testing for changed refs in repositories with >65K refs misses ref cache: D21521: Improve performance of repository discovery in repositories with >65K refs.
Jan 26 2021, 7:10 PM · Diffusion
epriestley updated the task description for T13595: Browsing directories with submodules fails with bad call to "setExternalURI()".
Jan 26 2021, 5:38 PM · Diffusion, Lint
epriestley committed rP888604c9dd01: Fix a "setExternalURI()" fatal while browsing directories with submodules (authored by epriestley).
Fix a "setExternalURI()" fatal while browsing directories with submodules
Jan 26 2021, 5:14 PM
epriestley closed D21520: Fix a "setExternalURI()" fatal while browsing directories with submodules.
Jan 26 2021, 5:14 PM
epriestley requested review of D21520: Fix a "setExternalURI()" fatal while browsing directories with submodules.
Jan 26 2021, 4:44 PM
epriestley added a revision to T13595: Browsing directories with submodules fails with bad call to "setExternalURI()": D21520: Fix a "setExternalURI()" fatal while browsing directories with submodules.
Jan 26 2021, 4:42 PM · Diffusion, Lint
epriestley triaged T13595: Browsing directories with submodules fails with bad call to "setExternalURI()" as Normal priority.
Jan 26 2021, 4:37 PM · Diffusion, Lint
epriestley added a comment to T13593: Testing for changed refs in repositories with >65K refs misses ref cache.

I updated the description, but the relevant workflow is during the "discovery" step, not the "refs" step. The "refs" step uses the RefCursor table and doesn't interact with the commit cache.

Jan 26 2021, 4:27 PM · Diffusion
epriestley updated the task description for T13593: Testing for changed refs in repositories with >65K refs misses ref cache.
Jan 26 2021, 4:26 PM · Diffusion
epriestley added a comment to T13166: Herald "block" and "send an email" actions are mutually exclusive, which isn't intuitive.

It looks like the case in PHI1977 was actually a situation of attempting to trigger an audit by writing a Differential rule, so the Global/Personal stuff may still be worth fixing but has zero known cases of actual confusion in the wild. I'm less sure how the UI could be clarified around the Audit/Differential issue.

Jan 26 2021, 4:21 PM · Diffusion, Herald
epriestley triaged T13594: Phacility pact billing system may incorrectly generate an invoice in the presence of an old invoice prior to an account credit as Low priority.
Jan 26 2021, 4:14 PM · Phortune, Phacility

Jan 25 2021

epriestley committed rP69870a6bc268: (stable) Correct Git repository browse behavior for differences in "ls-tree"… (authored by epriestley).
(stable) Correct Git repository browse behavior for differences in "ls-tree"…
Jan 25 2021, 5:25 PM
epriestley committed rPbafe8d1bbdb2: Correct Git repository browse behavior for differences in "ls-tree" output (authored by epriestley).
Correct Git repository browse behavior for differences in "ls-tree" output
Jan 25 2021, 5:13 PM
epriestley closed D21519: Correct Git repository browse behavior for differences in "ls-tree" output.
Jan 25 2021, 5:13 PM
epriestley requested review of D21519: Correct Git repository browse behavior for differences in "ls-tree" output.
Jan 25 2021, 5:11 PM
epriestley added a revision to T13589: Git may interpret refnames as flags in some commands which accept both refs and paths: D21519: Correct Git repository browse behavior for differences in "ls-tree" output.
Jan 25 2021, 5:10 PM · Security, Git
epriestley triaged T13593: Testing for changed refs in repositories with >65K refs misses ref cache as Normal priority.
Jan 25 2021, 4:56 PM · Diffusion
tiguchi awarded T2334: Implement Google Calendar v3 API into Calendar a Like token.
Jan 25 2021, 4:43 PM · Restricted Project, Prioritized, Calendar

Jan 23 2021

epriestley triaged T13592: Initial discovery in large repositories may take an unreasonably long amount of time as Low priority.
Jan 23 2021, 5:46 PM · Diffusion
epriestley edited the content of Changelog.
Jan 23 2021, 4:35 AM
epriestley edited the content of Changelog.
Jan 23 2021, 4:35 AM
epriestley edited the content of Changelog.
Jan 23 2021, 4:35 AM
epriestley created an object: 2021 Week 4 (Late January).
Jan 23 2021, 4:30 AM
epriestley committed rARC66d1acec7042: (stable) Promote 2021 Week 4 (authored by epriestley).
(stable) Promote 2021 Week 4
Jan 23 2021, 4:20 AM
epriestley committed rP498fcd34ac9f: (stable) Promote 2021 Week 4 (authored by epriestley).
(stable) Promote 2021 Week 4
Jan 23 2021, 4:20 AM
epriestley committed rP1da94dcf499e: Correct some issues around IMPORTED_PERMANENT in RefEngine (authored by epriestley).
Correct some issues around IMPORTED_PERMANENT in RefEngine
Jan 23 2021, 3:52 AM
epriestley closed D21518: Correct some issues around IMPORTED_PERMANENT in RefEngine.
Jan 23 2021, 3:52 AM
epriestley committed rP15e022d64870: Support an "--active" flag for selecting active tasks (authored by epriestley).
Support an "--active" flag for selecting active tasks
Jan 23 2021, 3:51 AM
epriestley committed rP16a14af2bb17: Correct the behavior of "bin/repository discover --repair" (authored by epriestley).
Correct the behavior of "bin/repository discover --repair"
Jan 23 2021, 3:51 AM
epriestley closed D21516: Lift logic for queueing commit import tasks into RepositoryEngine.
Jan 23 2021, 3:51 AM
epriestley committed rP3cb543ef8fc6: Lift logic for queueing commit import tasks into RepositoryEngine (authored by epriestley).
Lift logic for queueing commit import tasks into RepositoryEngine
Jan 23 2021, 3:51 AM
epriestley committed rP2d0e7c37e1f5: Rename "IMPORTED_CLOSEABLE" to "IMPORTED_PERMANENT" to clarify the meaning of… (authored by epriestley).
Rename "IMPORTED_CLOSEABLE" to "IMPORTED_PERMANENT" to clarify the meaning of…
Jan 23 2021, 3:51 AM
epriestley closed D21517: Support an "--active" flag for selecting active tasks.
Jan 23 2021, 3:51 AM
epriestley committed rP6716d4f6ae17: Separate "shouldPublishRef()" from "isPermanentRef()" and set… (authored by epriestley).
Separate "shouldPublishRef()" from "isPermanentRef()" and set…
Jan 23 2021, 3:51 AM
epriestley closed D21515: Separate "shouldPublishRef()" from "isPermanentRef()" and set "IMPORTED_PERMANENT" more narrowly.
Jan 23 2021, 3:51 AM
epriestley closed D21514: Rename "IMPORTED_CLOSEABLE" to "IMPORTED_PERMANENT" to clarify the meaning of the flag.
Jan 23 2021, 3:51 AM
epriestley closed D21513: Correct the behavior of "bin/repository discover --repair".
Jan 23 2021, 3:51 AM
epriestley added a comment to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".

After D21518:

Jan 23 2021, 3:51 AM · Daemons, Diffusion
epriestley requested review of D21518: Correct some issues around IMPORTED_PERMANENT in RefEngine.
Jan 23 2021, 12:39 AM
epriestley added a revision to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT": D21518: Correct some issues around IMPORTED_PERMANENT in RefEngine.
Jan 23 2021, 12:38 AM · Daemons, Diffusion
epriestley requested review of D21517: Support an "--active" flag for selecting active tasks.
Jan 23 2021, 12:12 AM
epriestley added a revision to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT": D21517: Support an "--active" flag for selecting active tasks.
Jan 23 2021, 12:10 AM · Daemons, Diffusion

Jan 22 2021

epriestley added a comment to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".

These parts seem likely resolved once I convince myself the patches so far actually work:

Jan 22 2021, 11:57 PM · Daemons, Diffusion
epriestley added a comment to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".

I have a change to add containerPHID locally, but it ends up having relatively high complexity because several other patches (including 20190909.herald.01.rebuild.php) call PhabricatorRebuildIndexesWorker::rebuildObjectsWithQuery(...), which does not work if executed in sequence prior to a worker queue schema change.

Jan 22 2021, 11:47 PM · Daemons, Diffusion
epriestley requested review of D21516: Lift logic for queueing commit import tasks into RepositoryEngine.
Jan 22 2021, 10:52 PM
epriestley added a revision to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT": D21516: Lift logic for queueing commit import tasks into RepositoryEngine.
Jan 22 2021, 10:50 PM · Daemons, Diffusion
epriestley requested review of D21515: Separate "shouldPublishRef()" from "isPermanentRef()" and set "IMPORTED_PERMANENT" more narrowly.
Jan 22 2021, 10:10 PM
epriestley added a revision to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT": D21515: Separate "shouldPublishRef()" from "isPermanentRef()" and set "IMPORTED_PERMANENT" more narrowly.
Jan 22 2021, 10:09 PM · Daemons, Diffusion
epriestley updated the task description for T13178: Plans: Support Pact Competitive Update.
Jan 22 2021, 10:00 PM · Plans, Support, Phacility
epriestley requested review of D21514: Rename "IMPORTED_CLOSEABLE" to "IMPORTED_PERMANENT" to clarify the meaning of the flag.
Jan 22 2021, 9:43 PM
epriestley added a revision to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT": D21514: Rename "IMPORTED_CLOSEABLE" to "IMPORTED_PERMANENT" to clarify the meaning of the flag.
Jan 22 2021, 9:41 PM · Daemons, Diffusion
epriestley added a comment to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".

This also relates slightly to T13580, but I believe the two issues are addressable independently.

Jan 22 2021, 9:24 PM · Daemons, Diffusion
epriestley added a comment to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".

However, I'd like to have a better understanding of how we're reaching this state, and I'm not satisfied that these repositories are going down the "natural" pathway (of changing ref definitions after the import starts) and suspect there is some more complicated interaction at play here.

Jan 22 2021, 9:18 PM · Daemons, Diffusion
epriestley requested review of D21513: Correct the behavior of "bin/repository discover --repair".
Jan 22 2021, 8:26 PM
epriestley added a revision to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT": D21513: Correct the behavior of "bin/repository discover --repair".
Jan 22 2021, 8:25 PM · Daemons, Diffusion
epriestley added a comment to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".

I'm hoping to land at least a narrow fix for this today to support an import in PHI1979 tomorrow. However, I'd like to have a better understanding of how we're reaching this state, and I'm not satisfied that these repositories are going down the "natural" pathway (of changing ref definitions after the import starts) and suspect there is some more complicated interaction at play here.

Jan 22 2021, 8:23 PM · Daemons, Diffusion
epriestley updated the task description for T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".
Jan 22 2021, 6:47 PM · Daemons, Diffusion
epriestley updated the task description for T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT".
Jan 22 2021, 6:45 PM · Daemons, Diffusion
epriestley added a project to T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT": Daemons.
Jan 22 2021, 6:05 PM · Daemons, Diffusion
epriestley triaged T13591: Importing repositories may incorrectly queue some tasks at "PRIORITY_COMMIT" as Normal priority.
Jan 22 2021, 6:05 PM · Daemons, Diffusion

Jan 21 2021

epriestley triaged T13590: Large HTTP repository pushes may leave clustered repository write lock held as Normal priority.
Jan 21 2021, 6:49 PM · Diffusion
timhirsh updated timhirsh.
Jan 21 2021, 2:24 PM

Jan 20 2021

epriestley closed D21512: Correct a straggling CLI format string after ref selector changes.
Jan 20 2021, 11:05 PM
epriestley committed rPe7e8ef7e390a: Correct a straggling CLI format string after ref selector changes (authored by epriestley).
Correct a straggling CLI format string after ref selector changes
Jan 20 2021, 11:04 PM
epriestley added a revision to T13589: Git may interpret refnames as flags in some commands which accept both refs and paths: D21512: Correct a straggling CLI format string after ref selector changes.
Jan 20 2021, 11:04 PM · Security, Git
epriestley added a comment to T13166: Herald "block" and "send an email" actions are mutually exclusive, which isn't intuitive.

See PHI1977 for a somewhat-similar issue: a user was (probably) looking for an action available only in Global Herald rules, and didn't realize available actions depend on rule scope.

Jan 20 2021, 8:45 PM · Diffusion, Herald
epriestley updated the task description for T11860: Bot email addresses can't be edited.
Jan 20 2021, 8:25 PM · Setup, People
epriestley committed rP0e28105ff76b: Further correct and disambigutate ref selectors passed to Git on the CLI (authored by epriestley).
Further correct and disambigutate ref selectors passed to Git on the CLI
Jan 20 2021, 8:07 PM
epriestley closed D21511: Further correct and disambigutate ref selectors passed to Git on the CLI.
Jan 20 2021, 8:07 PM
epriestley updated the diff for D21511: Further correct and disambigutate ref selectors passed to Git on the CLI.
  • Test for "svn" before running an SVN test to fix the local test failure, since this new machine doesn't have "svn" installed yet.
Jan 20 2021, 8:04 PM
epriestley requested review of D21511: Further correct and disambigutate ref selectors passed to Git on the CLI.
Jan 20 2021, 7:45 PM
epriestley added a revision to T13589: Git may interpret refnames as flags in some commands which accept both refs and paths: D21511: Further correct and disambigutate ref selectors passed to Git on the CLI.
Jan 20 2021, 7:44 PM · Security, Git
epriestley updated the task description for T13589: Git may interpret refnames as flags in some commands which accept both refs and paths.
Jan 20 2021, 6:47 PM · Security, Git

Jan 19 2021

epriestley added a comment to T13589: Git may interpret refnames as flags in some commands which accept both refs and paths.

Please use Discourse to report bugs. See https://discourse.phabricator-community.org/t/repository-view-git-command-failed-error/4510/.

Jan 19 2021, 3:34 PM · Security, Git
Abbe added a comment to T13589: Git may interpret refnames as flags in some commands which accept both refs and paths.

It works with Git 2.1.4 (shipped with Debian Wheezy), but not with Git 2.20.1 (shipped with Debian Buster), or Git 2.30.0 (latest version).

Jan 19 2021, 12:00 PM · Security, Git
Abbe added a comment to T13589: Git may interpret refnames as flags in some commands which accept both refs and paths.

My apologies if this is not the right place to post about this, but seems like due to ea9cb0b625fb6922c45aecbfdebacc60788ed92d we now get following error message when visiting diffusion repository page, i.e. URL /diffusion/$REPOID/:

Jan 19 2021, 11:44 AM · Security, Git

Jan 15 2021

ptarjan added a comment to T3277: `arc cleanup` to cleanup branches used by `arc patch`.

grep -v master | grep -v '^[0-9a-f.]*$'

This part may prove slightly trickier to implement correctly in the general case.

Jan 15 2021, 7:52 PM · Arcanist
epriestley added a comment to T3277: `arc cleanup` to cleanup branches used by `arc patch`.

grep -v master | grep -v '^[0-9a-f.]*$'

Jan 15 2021, 7:50 PM · Arcanist
ptarjan added a comment to T3277: `arc cleanup` to cleanup branches used by `arc patch`.

+1 for this command. We have use a web-based UI for landing so our branches stick around locally. To fix this I'm currently using:

arc branches | grep ' Closed ' | sed 's/[^ ]* //' | sed 's/ .*//' | grep -v master | grep -v '^[0-9a-f.]*$' | xargs git br -D
Jan 15 2021, 7:41 PM · Arcanist
epriestley changed the visibility for T13589: Git may interpret refnames as flags in some commands which accept both refs and paths.
Jan 15 2021, 6:45 PM · Security, Git
epriestley changed the visibility for T13589: Git may interpret refnames as flags in some commands which accept both refs and paths.
Jan 15 2021, 6:44 PM · Security, Git
epriestley removed a project from T13589: Git may interpret refnames as flags in some commands which accept both refs and paths: Security.
Jan 15 2021, 6:44 PM · Security, Git

Jan 14 2021

aleb added a comment to T12404: Implement a first-party SMTP client.

Recently smtp-relay.gmail.com stopped accepting email from our Phabricator instance because it turns out Phabricator was sending HELO localhost.localdomain instead of HELO smtp-relay.gmail.com when doing the SMTP connection.

Jan 14 2021, 6:45 PM · Infrastructure, Mail

Jan 13 2021

epriestley updated the task description for T13559: Include "Moved/Copied" gutter in 1-up diffs, and add aural cues, coverage, and fix inline counting.
Jan 13 2021, 9:38 PM · Accessibility, Differential
epriestley updated the task description for T13559: Include "Moved/Copied" gutter in 1-up diffs, and add aural cues, coverage, and fix inline counting.
Jan 13 2021, 9:01 PM · Accessibility, Differential
epriestley updated the task description for T13072: Merge Harbormaster BuildCommand into BuildMessage.
Jan 13 2021, 8:39 PM · Harbormaster
epriestley updated the task description for T13559: Include "Moved/Copied" gutter in 1-up diffs, and add aural cues, coverage, and fix inline counting.
Jan 13 2021, 8:33 PM · Accessibility, Differential