Skip to content

Conversation

@ArtificialOwl
Copy link
Member

notice and ignore entries with empty cachedPath for userId.

@cypress
Copy link

cypress bot commented Sep 13, 2024

Activity    Run #2286

Run Properties:  status check passed Passed #2286  •  git commit ea0efc2d0f: notice on empty cachedPath
Project Activity
Branch Review feat/noid/log-on-no-user
Run status status check passed Passed #2286
Run duration 02m 47s
Commit git commit ea0efc2d0f: notice on empty cachedPath
Committer Maxence Lange
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 ↗︎

$filteredUsers = [];
foreach ($usersToCheck as $userId) {
if (!array_key_exists($userId, $cachedPath) || $cachedPath[$userId] === null) {
$this->logger->notice('could not find user in list of cached path', ['cachePath' => $cachedPath, 'usersToCheck' => $usersToCheck, 'current' => $userId]);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't know whether it is an error or not. Shouldn't we try to fetch the user path?

@miaulalala miaulalala force-pushed the feat/noid/log-on-no-user branch from 2f29622 to 8a84905 Compare March 17, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants