feat: docker compose for full hosting set up#2569
Open
Conversation
sidpalas
commented
Feb 9, 2026
|
|
||
| // Canonical GitHub App webhook endpoint. | ||
| r.POST("/github/webhook", diggerController.GithubAppWebHook) | ||
| // Legacy webhook path kept for backward compatibility. |
Collaborator
Author
There was a problem hiding this comment.
We could leave this as is, but I figured we might want to standardize on /github/.
sidpalas
commented
Feb 9, 2026
| // - "" or "/" -> "" | ||
| // - "orchestrator" -> "/orchestrator" | ||
| // - "/orchestrator/" -> "/orchestrator" | ||
| func NormalizePublicPathPrefix(raw string) string { |
Collaborator
Author
There was a problem hiding this comment.
This isn't strictly necessary, but helps fix common issues people may encounter with leading and trailing slashes.
sidpalas
commented
Feb 9, 2026
|
|
||
| await saveSession({ accessToken, refreshToken, user, impersonator }); | ||
|
|
||
| // Ensure the signed-in WorkOS organization exists in dependent services. |
Collaborator
Author
There was a problem hiding this comment.
We could also leave this out for now and add in a separate PR cleaning up the callback/webhook logic
sidpalas
commented
Feb 9, 2026
| } | ||
| | Response | ||
|
|
||
| export async function requireUiAuth(request: Request): Promise<AuthResult> { |
Collaborator
Author
There was a problem hiding this comment.
If we wanted to keep things simpler, we could just return a 401.
Or this could be moved to a separate PR to keep this one more focused.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧠 Ai UsageDetails (if applicable):
IMPORTANT: Please disclose any usage of ai tooling while making this change. If you did not use any AI write "NA" below
Initial implementation pass performed via opencode + codex. Review + testing + refactoring performed both manually and via opencode.