Page MenuHomePhorge
Feed All Stories

Yesterday

aklapper added a comment to T15371: RuntimeException in preg_replace_callback: Text disappears due to Remarkup parsing.

This exception happens once $rule in the loop foreach ($this->getMarkupRules() as $rule) in PhutilRemarkupBlockRule::applyRules($text) becomes ProjectRemarkupRule. That's where it blows up.

Fri, Oct 25, 10:19 · Bug Reports, Remarkup, Affects-Wikimedia

Thu, Oct 24

aklapper closed D25828: ManiphestReportController: Separate legacy and synthetic data handling.
Thu, Oct 24, 15:33
aklapper committed rPd643ca4c4c53: ManiphestReportController: Separate legacy and synthetic data handling.
ManiphestReportController: Separate legacy and synthetic data handling
Thu, Oct 24, 15:33
aklapper closed D25832: Fix implicitly nullable parameter declarations for PHP 8.4.
Thu, Oct 24, 15:19
aklapper committed rP5f4587bb88dd: Fix implicitly nullable parameter declarations for PHP 8.4.
Fix implicitly nullable parameter declarations for PHP 8.4
Thu, Oct 24, 15:19
aklapper committed rARC29ca3df1122b: Fix implicitly nullable parameter declarations for PHP 8.4.
Fix implicitly nullable parameter declarations for PHP 8.4
Thu, Oct 24, 15:16
aklapper closed D25831: Fix implicitly nullable parameter declarations for PHP 8.4.
Thu, Oct 24, 15:16
s.quinn added a comment to Q153: php-fpm memory leak.

Think I may have found what is causing this. We had a few repositories that auto download/sync from github. The user's key who connects to github was missing so the downloads were giving errors. I think this triggers a memory leak for the php process. Now that I've fixed the key issue no errors now appear and phorge looks to be happier, i.e. memory usage looks minimal all the time (i.e. php-fpm processes using ~100MBytes).
I'm going to keep monitoring for a few weeks.
Here's an example from the log:

Thu, Oct 24, 13:39
avivey accepted D25832: Fix implicitly nullable parameter declarations for PHP 8.4.
Thu, Oct 24, 09:56
avivey accepted D25831: Fix implicitly nullable parameter declarations for PHP 8.4.
Thu, Oct 24, 09:55

Wed, Oct 23

aklapper closed T15949: Herald comment attributed to the wrong user in email notifications as Invalid.
Wed, Oct 23, 14:09 · Herald, Maniphest
aklapper requested review of D25832: Fix implicitly nullable parameter declarations for PHP 8.4.
Wed, Oct 23, 10:14
aklapper requested review of D25831: Fix implicitly nullable parameter declarations for PHP 8.4.
Wed, Oct 23, 09:57
aklapper closed D25816: Fix implicitly nullable parameter declarations for PHP 8.4.
Wed, Oct 23, 09:10
aklapper committed rPf3d49f740737: Fix implicitly nullable parameter declarations for PHP 8.4.
Fix implicitly nullable parameter declarations for PHP 8.4
Wed, Oct 23, 09:10
aklapper closed D25814: Fix implicitly nullable parameter declarations for PHP 8.4.
Wed, Oct 23, 09:09
aklapper committed rPdb61eb20f0f0: Fix implicitly nullable parameter declarations for PHP 8.4.
Fix implicitly nullable parameter declarations for PHP 8.4
Wed, Oct 23, 09:09
aklapper closed D25813: Fix implicitly nullable parameter declarations for PHP 8.4.
Wed, Oct 23, 09:08
aklapper committed rARC99e57a702164: Fix implicitly nullable parameter declarations for PHP 8.4.
Fix implicitly nullable parameter declarations for PHP 8.4
Wed, Oct 23, 09:08
avivey added a comment to D25823: arc browse: add support to Subversion repos.

(The Arguments have a supports feature for these cases - like https://we.phorge.it/source/arcanist/browse/master/src/workflow/ArcanistLintWorkflow.php$67 . Not sure what it actually does, but 🤷🏻‍♂️)

Wed, Oct 23, 07:22
keithzg added a comment to D25823: arc browse: add support to Subversion repos.

What if the user used the svn checkout svn+ssh://phab@phorge.example.com/source/myrepo/trunk myRepoOnlyTrunk form - are we still able to find the right target when arc browse lol.txt? Is it a common use-case?

Wed, Oct 23, 00:43

Tue, Oct 22

valerio.bozzolan planned changes to D25823: arc browse: add support to Subversion repos.

I will add a warning about --branch and better management

Tue, Oct 22, 19:56
aklapper added a comment to D25829: Update mimemailparser from May 2011 version to 8.0.4.

For testing, I deployed the latest revision of this proposed patch in our downstream instance and created a task via incoming plain text mail with attachments - seems to still work as expected so no obvious breakage (yet): https://phabricator.wikimedia.org/T377859

Tue, Oct 22, 15:16
aklapper updated the diff for D25829: Update mimemailparser from May 2011 version to 8.0.4.

Fix typo

Tue, Oct 22, 11:51
aklapper updated the diff for D25829: Update mimemailparser from May 2011 version to 8.0.4.

mimemailparser: Check that PHP mailparse extension is installed

Tue, Oct 22, 11:50
aklapper closed T15951: PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Tue, Oct 22, 08:35 · PHP 8 support
aklapper closed T15951: PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter as Resolved by committing rPb08c7c761c10: Fix PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter.
Tue, Oct 22, 08:35 · PHP 8 support
aklapper closed D25830: Fix PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter.
Tue, Oct 22, 08:35
aklapper committed rPb08c7c761c10: Fix PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter.
Fix PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter
Tue, Oct 22, 08:35
speck accepted D25830: Fix PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter.

The function name including a negative, “nonempty”, throws me off…

Tue, Oct 22, 01:04

Mon, Oct 21

aklapper requested review of D25830: Fix PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter.
Mon, Oct 21, 18:08
aklapper added a revision to T15951: PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter: D25830: Fix PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter.
Mon, Oct 21, 18:08 · PHP 8 support
aklapper created T15951: PHP 8.1 "strlen(null)" exception rendering JSON file as Jupyter.
Mon, Oct 21, 18:05 · PHP 8 support
aklapper closed T15926: PHP 8.1 "strlen(null)"/preg_match() exceptions running unit tests, a subtask of T15064: Make Phorge compatible with PHP 8.1/8.2/8.3, as Resolved.
Mon, Oct 21, 16:52 · PHP 8 support
aklapper closed T15926: PHP 8.1 "strlen(null)"/preg_match() exceptions running unit tests as Resolved.
Mon, Oct 21, 16:52 · PHP 8 support
aklapper added a comment to T15949: Herald comment attributed to the wrong user in email notifications.

The email body says Herald added a comment.
The email subject line header says [Changed Project Column] (not [Commented On]).
So I wouldn't say it is incorrectly attributed.
AFAIK there are no Herald rules which trigger a separate email notification on its own (but I agree that the described behavior also has confused me in the past) as Herald rules are always triggered by some other previous action.

Mon, Oct 21, 16:50 · Herald, Maniphest
aklapper updated the diff for D25828: ManiphestReportController: Separate legacy and synthetic data handling.

Try to make this a separate branch

Mon, Oct 21, 14:31
valerio.bozzolan added inline comments to D25828: ManiphestReportController: Separate legacy and synthetic data handling.
Mon, Oct 21, 13:59
aklapper added inline comments to D25828: ManiphestReportController: Separate legacy and synthetic data handling.
Mon, Oct 21, 08:32
aklapper created T15950: Update copy of external xhprof library.
Mon, Oct 21, 08:24
valerio.bozzolan closed T15927: Fix Arcanist unit test ArcanistBundleTestCase->testNonlocalTrailingNewline() on non-English terminal as Resolved by committing rARCb3d45c710414: ArcanistBundleTestCase: fix support of non-English environments.
Mon, Oct 21, 05:35 · User-valerio.bozzolan
valerio.bozzolan closed D25809: ArcanistBundleTestCase: fix support of non-English environments.
Mon, Oct 21, 05:35
valerio.bozzolan committed rARCb3d45c710414: ArcanistBundleTestCase: fix support of non-English environments.
ArcanistBundleTestCase: fix support of non-English environments
Mon, Oct 21, 05:35
valerio.bozzolan added a comment to T15927: Fix Arcanist unit test ArcanistBundleTestCase->testNonlocalTrailingNewline() on non-English terminal.

Thanks, little cute Phorge kitten in profile picture <3

Mon, Oct 21, 05:34 · User-valerio.bozzolan
valerio.bozzolan added inline comments to D25828: ManiphestReportController: Separate legacy and synthetic data handling.
Mon, Oct 21, 05:30

Sun, Oct 20

syncer added a comment to Q156: How to support project commercialy? (Answer 197).

Hire someone from the Community seems most optimal for many reasons

Sun, Oct 20, 21:29
20after4 accepted D25828: ManiphestReportController: Separate legacy and synthetic data handling.

Nice, it's a good step towards cleaning up this mess!

Sun, Oct 20, 21:08
20after4 added Q156: How to support project commercialy? (Answer 197).
Sun, Oct 20, 21:01
20after4 accepted D25809: ArcanistBundleTestCase: fix support of non-English environments.
Sun, Oct 20, 20:43
20after4 accepted D25829: Update mimemailparser from May 2011 version to 8.0.4.

It would be nice to have some unit tests for this but that seems like it might be quite a bit of work to implement.

Sun, Oct 20, 20:37
aklapper added a comment to T15766: Cleanup a bit MimeMailParser.

@valerio.bozzolan Proposing to decline in favor of T15940: Update copy of external mimemailparser library / D25829: Update mimemailparser from May 2011 version to 8.0.4.
Let's not increase the diff to upstream (13 years difference) even more.

Sun, Oct 20, 17:26 · Good Starter Task
aklapper requested review of D25829: Update mimemailparser from May 2011 version to 8.0.4.
Sun, Oct 20, 17:22
aklapper added a revision to T15940: Update copy of external mimemailparser library: D25829: Update mimemailparser from May 2011 version to 8.0.4.
Sun, Oct 20, 17:22
mainframe98 accepted D25809: ArcanistBundleTestCase: fix support of non-English environments.

Confirmed on KDE on Debian 12, everything set to Dutch: LC_ALL evaluates to nl_NL.UTF-8. Fails before applying this change, succeeds afterwards.

Sun, Oct 20, 16:56
mainframe98 added a comment to T15927: Fix Arcanist unit test ArcanistBundleTestCase->testNonlocalTrailingNewline() on non-English terminal.

I can reproduce this (KDE on Debian 12, everything set to Dutch: LC_ALL evaluates to nl_NL.UTF-8). diff returns localized output, but doesn't when using LC_ALL=C.

Sun, Oct 20, 16:55 · User-valerio.bozzolan
valerio.bozzolan added a comment to T15927: Fix Arcanist unit test ArcanistBundleTestCase->testNonlocalTrailingNewline() on non-English terminal.

Has anybody a terminal with non-English environment and that obtains a non-English output with this command?

Sun, Oct 20, 12:25 · User-valerio.bozzolan
valerio.bozzolan added a comment to D25809: ArcanistBundleTestCase: fix support of non-English environments.

Thank you for trying. Let's continue the "how to reproduce" discussion in the bug report T15927

Sun, Oct 20, 12:21
avivey added Q156: How to support project commercialy? (Answer 196).
Sun, Oct 20, 10:00
avivey added a comment to Q153: php-fpm memory leak.

If it's the daemons that are having problems, you can probably see in the /daemons/ dashboard which tasks are causing problems, and narrow it down from there.

Sun, Oct 20, 09:05

Sat, Oct 19

aklapper updated the task description for T15940: Update copy of external mimemailparser library.
Sat, Oct 19, 15:12
aklapper added a comment to D25828: ManiphestReportController: Separate legacy and synthetic data handling.

ARRRGH, I locally did this on master branch instead of a dedicated branch. Sorry, it's been a while!

Sat, Oct 19, 11:00
aklapper added a comment to D25828: ManiphestReportController: Separate legacy and synthetic data handling.

For context, the ManiphestTransaction table in my installation has >10mio entries so some charts do not render but time out. One approach could be Materialized Views but I don't see how that's feasible given the "Project" tag parameter coming into play (and having thousands of project tags in my installation), so my vague followup idea for my installation is to completely disable the code which handles the legacy data only (as creating the modern data does not rely on querying the ManiphestTransaction table), and thus deliberately ignore ancient legacy data from before 2018 for the sake of performance. That's easier to achieve when the upstream spaghetti code doesn't constantly switch between handling legacy and modern/synthetic data.

Sat, Oct 19, 10:49
aklapper requested review of D25828: ManiphestReportController: Separate legacy and synthetic data handling.
Sat, Oct 19, 10:47
keithzg added a comment to D25723: PHPMailer: Merge class.phpmailer-lite.php into class.phpmailer.php.

For what it's worth I've applied this to my personal instance which tracks master, and I've foisted it on my work instance too---ostensibly tracking stable there, but ;)

Sat, Oct 19, 04:07

Fri, Oct 18

20after4 added a comment to Q153: php-fpm memory leak.

Can you add a swap file to allow memory usage above 8gb? This will have poor performance but it may allow repo processing to continue. Can you tell if there is a repo which is still importing? Normal day to day repo tracking shouldn’t require tons of ram so the only situation that I can imagine needing this much ram is importing a large repository.

Fri, Oct 18, 17:37
chris accepted D25816: Fix implicitly nullable parameter declarations for PHP 8.4.
Fri, Oct 18, 12:52
chris accepted D25814: Fix implicitly nullable parameter declarations for PHP 8.4.
Fri, Oct 18, 12:52
chris accepted D25813: Fix implicitly nullable parameter declarations for PHP 8.4.
Fri, Oct 18, 12:50
aklapper edited the content of Next Up.
Fri, Oct 18, 12:20
aklapper closed T15047: Officially raise minimum required PHP version to 7.2 as Resolved by committing rP23a49eb403c9: Bump PHP version requirement from 5.2.3 to 7.2.25.
Fri, Oct 18, 12:20 · Phorge
aklapper closed T15047: Officially raise minimum required PHP version to 7.2, a subtask of T15935: PHP 8.4 fatal error / exceptions: Implicitly nullable parameter declarations deprecated, as Resolved.
Fri, Oct 18, 12:20 · PHP 8 support
aklapper closed D25815: Bump PHP version requirement from 5.2.3 to 7.2.25.
Fri, Oct 18, 12:20
aklapper committed rP23a49eb403c9: Bump PHP version requirement from 5.2.3 to 7.2.25.
Bump PHP version requirement from 5.2.3 to 7.2.25
Fri, Oct 18, 12:20
s.quinn added a comment to Q153: php-fpm memory leak.

What is the normal memory usage for the update daemon during the repository update? It seems to be peaking around 8GB per process for our repositories. Maybe I need to add more RAM, i.e. 32 GB to satisfy this, but that's not easy on AWS.

Fri, Oct 18, 11:19
s.quinn updated the answer details for Q153: php-fpm memory leak (Answer 195).
Fri, Oct 18, 11:13
avivey added a comment to Q153: php-fpm memory leak.

Repository update is based on how recent the last commit is, but that's only for collecting the list of commits to analyze.
But that should be done in the Daemons, which should at least recover nicely and not break the web side of the application. I don't know if they should be running as php or php-fpm.

Fri, Oct 18, 06:44

Thu, Oct 17

s.quinn updated the answer details for Q153: php-fpm memory leak (Answer 195).
Thu, Oct 17, 15:22
s.quinn added a comment to Q153: php-fpm memory leak.

OK, not the monitoring issue.

Thu, Oct 17, 15:22
s.quinn updated the answer details for Q153: php-fpm memory leak (Answer 195).
Thu, Oct 17, 15:02
s.quinn added Q153: php-fpm memory leak (Answer 195).
Thu, Oct 17, 15:02
s.quinn reopened Q153: php-fpm memory leak.
Thu, Oct 17, 14:56
nhg159083 added a watcher for Trusted Contributors: nhg159083.
Thu, Oct 17, 13:25

Wed, Oct 16

Iniquity added a comment to Update From Phabricator.

@Iniquity - Problem solved by removing that sentence lol - thanks. Now seems super-freshy

Thanks! :)

Wed, Oct 16, 09:35
valerio.bozzolan added a comment to D25773: Fix submitting forms in a new tab using Ctrl+Return.

@BlankEclair Do you want a little help to land this?

Wed, Oct 16, 09:25
valerio.bozzolan added a comment to Update From Phabricator.

@Iniquity - Problem solved by removing that sentence lol - thanks. Now seems super-freshy

Wed, Oct 16, 09:08
valerio.bozzolan edited the content of Update From Phabricator.
Wed, Oct 16, 09:08
valerio.bozzolan added a member for Trusted Contributors: bojan.
Wed, Oct 16, 08:53
valerio.bozzolan edited the content of Update From Phabricator.
Wed, Oct 16, 08:52
bojan added a comment to Update From Phabricator.

Arcanist is misspelled as "Archanist" in the 3rd step of "Updating" section.

Wed, Oct 16, 08:41
valerio.bozzolan added Q157: Retrieving task comments using conduit (Answer 194).
Wed, Oct 16, 07:36
sicenul asked Q157: Retrieving task comments using conduit.
Wed, Oct 16, 07:19
sicenul attached a referenced file: F195188: image.png.
Wed, Oct 16, 07:11

Tue, Oct 15

avivey created Blog Post: 2024 Summer Edition.
Tue, Oct 15, 16:48
avivey edited the content of Change Log.
Tue, Oct 15, 16:42
avivey committed rPd3c0a7edc3fc: Promote 2024.35 to stable.
Promote 2024.35 to stable
Tue, Oct 15, 16:42
avivey committed rARC05abd055019c: Promote 2024.35 to stable.
Promote 2024.35 to stable
Tue, Oct 15, 16:37
valerio.bozzolan added a comment to T15949: Herald comment attributed to the wrong user in email notifications.

Uh! Out of curiosity, what does the notification look like in your web notifications?

Tue, Oct 15, 06:52 · Herald, Maniphest
valerio.bozzolan added a member for Trusted Contributors: keithzg.
Tue, Oct 15, 06:51
keithzg closed Q147: How does one get the value of a custom field in a custom field extension? as resolved.
Tue, Oct 15, 04:15 · Maniphest
keithzg added a comment to Q147: How does one get the value of a custom field in a custom field extension? (Answer 183).

Okay, I got it! For future reference if anyone in a similar situation is stumbling across this and wants a fully working example to go off of, my more-than-a-little-cargo-culted code is currently:

Tue, Oct 15, 04:15