In D25967#26245, @avivey wrote:@aklapper want to land this?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed All Stories
All Stories
All Stories
May 1 2025
May 1 2025
Possible ways to reduce risk for future issues:
- add a Setup Check that runs npm audit
- remove node, use php-based websocket implementation
@aklapper want to land this?
I figure users need to just run npm audit fix to be safe, and then fix the mess it did on the git diff.
Apr 30 2025
Apr 30 2025
aklapper added a comment to D25676: DifferentialRevisionQuery: avoid nonsense query comparing r.authorPHID with project PHIDs.
Ah...I may take another look (jmeador: Feel of course also very free to commandeer this back to you)
aklapper retitled D25676: DifferentialRevisionQuery: avoid nonsense query comparing r.authorPHID with project PHIDs from Fix responsible authors in DifferentialRevisionQuery to Make responsible authors in DifferentialRevisionQuery only include users.
aklapper added a comment to D25676: DifferentialRevisionQuery: avoid nonsense query comparing r.authorPHID with project PHIDs.
Ah sorry for maybe stepping on toes, and welcome back! :)
aklapper updated the diff for D25676: DifferentialRevisionQuery: avoid nonsense query comparing r.authorPHID with project PHIDs.
Seems @jmeador is AWOL thus updating per last comment
aklapper commandeered D25676: DifferentialRevisionQuery: avoid nonsense query comparing r.authorPHID with project PHIDs.
seems @jmeador is AWOL thus boldly commandeering
aklapper renamed T16044: Diviner: All Method and File query results have invalid 404 URIs from Diviner: All Method query results have invalid 404 URIs to Diviner: All Method and File query results have invalid 404 URIs.
aklapper added a comment to T16044: Diviner: All Method and File query results have invalid 404 URIs.
Digging a bit further, rP600a3e3b7c2de5d93644e0410cd354ea6752949d implies that methods and files should not be indexed at all and not show up in the results. See also T16045#21931.
aklapper added a comment to T16045: All @{method:...} links in Diviner docs result in a "Documentation Not Found" error.
A quick fix would be removing the single line $query->withIsDocumentable(true); in https://we.phorge.it/source/phorge/browse/master/src/applications/diviner/controller/DivinerFindController.php;85f51c54303fe50ebc09ee0b652033a8a9f29ab1$45
as that'll allow results for Methods.
aklapper renamed T16044: Diviner: All Method and File query results have invalid 404 URIs from Diviner: All Method query results have invalid URIs to Diviner: All Method query results have invalid 404 URIs.
valerio.bozzolan awarded T16044: Diviner: All Method and File query results have invalid 404 URIs a Yellow Medal token.
also manually bump version in package.json; then running npm install results in another bump in package-lock.json
Both are good questions. I only put here the diff which npm created. First question: Very likely Yes.
(Note that I have no knowledge in this area and don't even know why both package-lock.json and package.json are needed.)
- Can we specify the .10 in packages.json itself?
- Do installs need upgrade instructions to complete the upgrade?
valerio.bozzolan moved T16043: Create Unit Tests to cover Project Destroy from Backlog to Code Sprint Candidate on the User-valerio.bozzolan board.
valerio.bozzolan added a project to T16043: Create Unit Tests to cover Project Destroy: User-valerio.bozzolan.
As a general rule, I prefer the have the abstractions as much as possible, to allow extensions to do things.
In this case, an abstraction would also make this feature easier to enable/disable, which I think is desired.
Chris has asked me to pick this up as he'd like to see this implemented.
Apr 29 2025
Apr 29 2025
If the CSS rule should not change anything, why does it change something?
Yuuum. As I mentioned downstream ( https://phabricator.wikimedia.org/T380361#10778444 ) I think probably, fortunately, nobody noticed this in a real world, since it's complicated to cause this condition using the API, and probably impossible from the web interface, but this still seems somehow a reasonable workflow and not dead code and the change makes sense. Thaaaanks
Remove "return;" lines
Kindly flagging as "little fixes needed on unit tests"
gotta set it
like this I guess
aklapper retitled D25980: PHPDoc: Correct syntax of variadic function params from PHPDoc: Correct syntax of variadic functions' params
aklapper retitled D25981: PHPDoc: Correct syntax of variadic function params from PHPDoc: Correct syntax of variadic functions' params
chris18890 awarded T15671: Allow to import Picture from Gravatar a Like token.
Apr 28 2025
Apr 28 2025
git rebase master
git rebase master
I've added 2 unuseful tips but this seems not ready for production. Flag as "solution seems affected by N+1 query problem". Maybe useful to open a cute task and do more triage.
I've tested in my console:
valerio.bozzolan updated the summary of D25967: Aphlict: Bump NodeJS package ws from 7.5.0 to 7.5.10.
Relevant report:
valerio.bozzolan updated the summary of D25967: Aphlict: Bump NodeJS package ws from 7.5.0 to 7.5.10.
valerio.bozzolan requested changes to D25864: Paste previous milestone's description text when creating a new milestone.
Super nice prototype but flagging as "more digging probably needed for production"
Apr 27 2025
Apr 27 2025
oh true that! sigh I should look around a bit more
FYI I pasted the list of the 341 different FA icons used by Phorge as of 2025-04-24 (excluding the list of all icons in PHUIIconView::getIcons()) in P50
Argh, PEBKAC, right. Thanks!
[acko@fedora phorge (master *$|u=)]$ ./bin/storage upgrade Target Error phabricator_paste.paste.mailKey Surplus
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0