Skip to content

Conversation

@ycdzj
Copy link
Contributor

@ycdzj ycdzj commented Nov 4, 2025

  • refactor(user): update user interceptor
  • refactor(namespaces): remove uncategorized folder

Copilot AI review requested due to automatic review settings November 4, 2025 07:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the automatic creation of an "uncategorized" folder when setting up a private root namespace and optimizes the user interceptor to extract user IDs earlier in the request lifecycle.

  • Removed automatic creation of "uncategorized" subfolder in private root namespaces
  • Refactored user ID extraction in the interceptor to occur before request handling rather than during response processing

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/namespaces/namespaces.service.ts Removes the creation of an "uncategorized" folder within the private root resource
src/interceptor/user.interceptor.ts Moves user ID extraction outside the tap operator to capture it earlier in the request lifecycle and consolidates span management in the finalize callback

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ycdzj ycdzj merged commit 9faa420 into main Nov 4, 2025
5 checks passed
@ycdzj ycdzj deleted the refactor/user branch November 4, 2025 09:07
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.

2 participants