Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Mar 18, 2025

@susnux
Copy link
Contributor Author

susnux commented Mar 18, 2025

/backport to stable31

@susnux susnux added this to the Nextcloud 32 milestone Mar 18, 2025
@cypress
Copy link

cypress bot commented Mar 18, 2025

Activity    Run #2319

Run Properties:  status check failed Failed #2319  •  git commit f1c6edd663: fix: unshare from group activity user handling
Project Activity
Branch Review fix/user-ids
Run status status check failed Failed #2319
Run duration 03m 28s
Commit git commit f1c6edd663: fix: unshare from group activity user handling
Committer Ferdinand Thiessen
View all properties for this run ↗︎

Test results
Tests that failed  Failures 1
Tests that were flaky  Flaky 2
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 9
View all changes introduced in this branch ↗︎

Tests for review

Failed  cypress/e2e/sidebar.cy.ts • 1 failed test • Run E2E

View Output

Test Artifacts
Check activity listing in the sidebar > Has rename activity Screenshots
Flakiness  cypress/e2e/sidebar.cy.ts • 2 flaky tests • Run E2E

View Output

Test Artifacts
Check activity listing in the sidebar > Has share activity Screenshots
Check activity listing in the sidebar > Has comment activity Screenshots

@miaulalala
Copy link
Collaborator

Cypress failure seems related.

Copy link
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea why psalm missed it?

@susnux
Copy link
Contributor Author

susnux commented Mar 18, 2025

Any idea why psalm missed it?

I thought baseline but it seems to be clear...

@come-nc
Copy link
Contributor

come-nc commented Mar 18, 2025

INFO: PossiblyInvalidArgument - lib/FilesHooks.php:938:25 - Parameter 1 of closure passed to function array_map expects OCP\IUser, but possibly different type OCP\IUser|string provided (see https://psalm.dev/092)
                        $userIds = array_map(fn (IUser $user) => $user->getUID(), $users);

It’s info level it seems

@susnux
Copy link
Contributor Author

susnux commented Mar 18, 2025

Cypress unrelated, test failed in first run succeeded in second and vice-versa.
Tests seem to be flaky as hell 😔

@come-nc
Copy link
Contributor

come-nc commented Mar 18, 2025

This cannot break more things that it fixes, let’s force merge?

@nickvergessen nickvergessen merged commit c6e16b3 into master Mar 18, 2025
56 of 64 checks passed
@nickvergessen nickvergessen deleted the fix/user-ids branch March 18, 2025 13:32
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 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.

6 participants