Repository navigation
build: rebase the Radar WorkOS fork onto v1.22.1 - #14
Merged
Merged
Conversation
mfroembgen
force-pushed
the
fork-sync/v1.22.1-rebase
branch
4 times, most recently
from
November 30, 2026 09:18
26331b1 to
56b3071
Compare
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.
Description
Rebase the fork's four patches onto Radar v1.22.1. WorkOS keeps OAuth grants outside Radar so existing MCP clients can stay signed in across restarts. Upstream's built-in OAuth remains available for single-replica OIDC deployments.
Security and compatibility
Upstream changes
The two releases contain 37 upstream commits.
Patch stack
72334457d2f6bb4ef1ee209508eae714c3e617b2feat(mcp): authenticate remote MCP clients with WorkOS AuthKitc7e35dc6bf5b03b7dae422cfb0c822e3131ab78afix: reuse linear URL suffix normalizationb94c6d185662be70b2ccbe5cf7b6b191f4acd845feat(mcp): add --mcp-no-instructions to send no server instructions56b30710a43d388c66642804931baaf03bac9fb5build: package the Radar 1.22.1 WorkOS fork1.22.1. The chart and future image build use the same product commit.Conflict notes
internal/server/server.goconflicted around auth state and metadata routes. Both modes keep their routes and share upstream's auth dispatch. Upstream's per-connection MCP wrapper stays in place.deploy/helm/radar/templates/deployment.yaml,values.yamlandvalues.schema.jsonconflicted around the MCP settings. The chart keeps both settings and rejects a deployment that enables both OAuth modes.cmd/explorer/main.goanddocs/configuration.mdboth added an MCP flag at the same location. Keep and document both flags.Decisions
extraArgswhenmcp.oauth.enabledis true. It also rejects--mcp-oauthinextraArgswhenmcp.workosis configured. Both guards match single-dash and double-dash flag names regardless of their values. Radar validates other combinations at startup.go.mod. The source chart keeps upstream's development placeholders and the packaged fork chart carries the release version.Type of change
How has this been tested?
Before. The upstream tag still uses three trailing-slash regexes. A stock checkout advertises MCP server instructions by default.
After. The fork uses the existing linear helper at all three sites. A stdio handshake returned 3,402 instruction characters by default and zero with
--mcp-no-instructions.The local release build, web build, web and shared UI typechecks, 12 API config tests and web lint passed. The binary reports
radar 1.22.1.The local Go build, MCP/auth/server/CLI package tests, and vet passed. Helm lint, chart smoke tests, the dual-mode rejection check, and workflow lint passed. Codehygiene reported no findings on the replay edits.
The persistent SQLite regression test failed on the previous Helm template and passes with the new guard. All 277 chart unit tests, Helm lint, chart smoke tests and packaged-chart verification passed. Codehygiene found no issues on the added lines.
The draft CI probe uses the same tree as this PR. The current CI run is for probe head
58e07e31e. On an earlier probe head, all 12 runnable jobs passed, including the main CI workflow, AppImage smoke test and Windows Helm refresh. The separate Repo hygiene job skipped because this diff ran the Go checks.On that earlier probe head, the JavaScript/TypeScript CodeQL job passed without either URL file appearing in a polynomial ReDoS result. The code-scanning check is neutral because the workflow reserves Go analysis for main and scheduled runs. Its two PR annotations name upstream trailing-argument warnings in unchanged Diagnose components.
Not verified. CI completion for probe head
58e07e31e, Go CodeQL, live WorkOS sign-in, image publication and cluster rollout.Tested locally with minikube/kind
Tested against a remote cluster
Added/updated unit tests
Checklist
Merge danger
Door. Two-way. The old head stays reachable and can be restored by another reviewed lease push.
Blast radius. The fork's default branch history changes. Land by moving
mainto the rebased head with the exact lease below after review.After landing, publish the
1.22.1fork image and update downstream image digest pins in a separate change.