Skip to content

feat(gateway): add workspace header#514

Open
greyfox-dev wants to merge 1 commit into
mainfrom
feat/add-workspace-header
Open

feat(gateway): add workspace header#514
greyfox-dev wants to merge 1 commit into
mainfrom
feat/add-workspace-header

Conversation

@greyfox-dev
Copy link
Copy Markdown
Collaborator

@greyfox-dev greyfox-dev commented Nov 4, 2025

Summary by CodeRabbit

  • New Features
    • Enhanced HTTP request infrastructure with workspace identifier header support, enabling the system to properly route and manage workspace-specific communications and operations. This allows for improved workspace identification and isolation across all HTTP-based interactions.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Nov 4, 2025

Warning

Rate limit exceeded

@greyfox-dev has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 26 minutes and 50 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📝 Walkthrough

Walkthrough

A new HTTP header constant HeaderXWorkspaceID was added to identify workspace context in requests, and it has been registered in the FoundationHeaders collection for standardized header management.

Changes

Cohort / File(s) Summary
Header constant addition
http/headers.go
Added public constant HeaderXWorkspaceID = "X-Workspace-Id" and updated FoundationHeaders to include the new header constant.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A workspace ID finds its way,
Through headers bright, in every request's day,
Foundation stones now held as one,
New constants shine—the work is done! ✨

Pre-merge checks and finishing touches

✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the main change: adding a workspace header constant to the HTTP headers package.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/add-workspace-header

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greyfox-dev greyfox-dev force-pushed the feat/add-workspace-header branch from b3ae9a1 to 816138e Compare February 13, 2026 17:14
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.

1 participant