Skip to content

Conversation

@patclarknvidia
Copy link
Contributor

The problem repro'd if there were no users in the system, such as in this case after a clean local deployment.

NOTE: The infinite loop seen in this bug is triggered because updateUrl is in the dependency array of the useEffect that calls validateFilters in tasks/page.tsx. updateUrl should have been a useCallback - a problem that has already been fixed in main, as part of a different improvement. So, this issue did not repro in main.

All the same, this fix is still warranted as the APIs all work with all_users=false and an empty user array - returning tasks/workflows/datasets for the current user in such case. So, validating that users are selected is not necessary since the APIs support that use-case.

FYI: Users become first-class citizens after submitting a workflow.

Issue #168

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@patclarknvidia patclarknvidia requested a review from a team December 19, 2025 23:19
@patclarknvidia patclarknvidia merged commit 23d2090 into main Dec 20, 2025
6 checks passed
@patclarknvidia patclarknvidia deleted the patc/fix_no_users_hang branch December 20, 2025 00:25
@github-actions
Copy link

PR Preview Action v1.6.3
Preview removed because the pull request was closed.
2025-12-20 00:26 UTC

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.

4 participants