Skip to content

Conversation

@icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Aug 11, 2025

No need for a expensive by-id searches if the share event already has the node

@cypress
Copy link

cypress bot commented Aug 11, 2025

Activity    Run #2770

Run Properties:  status check passed Passed #2770  •  git commit 05ec2385a8: perf: pass the node of shares source instead of re-fetching it's path
Project Activity
Branch Review share-hook-path
Run status status check passed Passed #2770
Run duration 02m 04s
Commit git commit 05ec2385a8: perf: pass the node of shares source instead of re-fetching it's path
Committer Robin Appelman
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 10
View all changes introduced in this branch ↗︎

@icewind1991
Copy link
Member Author

The entire FileHooks is a mess performance wise...

@icewind1991 icewind1991 marked this pull request as draft August 13, 2025 09:16
@icewind1991 icewind1991 changed the title perf: pass the path of link share source instead of re-calculating it perf: pass the node of shares source instead of re-fetching it's path Aug 13, 2025
@icewind1991 icewind1991 changed the title perf: pass the node of shares source instead of re-fetching it's path perf: pass the node of shares around instead getting the path from id each time Aug 13, 2025
@icewind1991 icewind1991 marked this pull request as ready for review August 13, 2025 13:39
@icewind1991 icewind1991 added this to the Nextcloud 32 milestone Aug 13, 2025
@icewind1991 icewind1991 merged commit db380fa into master Aug 13, 2025
59 checks passed
@icewind1991 icewind1991 deleted the share-hook-path branch August 13, 2025 14:32
@icewind1991
Copy link
Member Author

/backport to stable31

@icewind1991
Copy link
Member Author

/backport to stable30

@skjnldsv skjnldsv modified the milestones: Nextcloud 33, Nextcloud 32 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants