Skip to content

CI probe for #14 (do not merge) - #15

Closed
mfroembgen wants to merge 5 commits into
mainfrom
ci/fork-sync-v1.22.1
Closed

mfroembgen wants to merge 5 commits into
mainfrom
ci/fork-sync-v1.22.1

Conversation

@mfroembgen

Copy link
Copy Markdown
Owner

Run CI and JavaScript/TypeScript CodeQL for mfroembgen/radar#14. This branch takes main as a second parent so GitHub can create a test merge. Its tree is identical to the proposed head f0099c7ad1654e087a1320460f4b6cec4c19aea0.

Replace the built-in MCP OAuth server, which kept clients and grants in
process memory, capped every grant at 24 hours and lost all sign-ins on
each pod restart. WorkOS AuthKit now owns client registration, sign-in,
consent and refresh; Radar only verifies AuthKit access tokens per MCP
endpoint and keeps no OAuth state.

A token is accepted only for its own endpoint audience, from a user whose
verified email is in the allowed domain. The user acts in Kubernetes as
the same identity a browser OIDC session gets: the configured username
prefix plus email, in the group prefix plus email domain.

Radar fetches the AuthKit key set at most once a minute. go-oidc
refetches it whenever a token fails against the cached keys, so any
caller without a login could make every request call WorkOS. Inside the
interval such tokens now fail without a fetch. The interval starts at
each attempt, so a failed fetch also waits a minute, and a key WorkOS
rotates in verifies within a minute.
An agent that connects one Radar MCP server per cluster receives the same
3.4 KB of server instructions from each of them in every session. With
--mcp-no-instructions, /mcp, /mcp-readonly and stdio send none, so one
instance can carry the guidance for all of them. Built-in agents keep
theirs.
Build ghcr.io/mfroembgen/radar:1.21.5 from product source d6b8bcf with
docker-build.yml, and publish fork chart 1.21.5 packaged with
scripts/package-fork-chart.py from that commit.

No 1.21.5 image exists yet, so the build may replace no tag; any existing
tag stops it. Fork chart 1.21.2 is dropped: consumers pin the chart
repository by commit, so they keep their chart until they move to 1.21.5.
@mfroembgen
mfroembgen force-pushed the ci/fork-sync-v1.22.1 branch 3 times, most recently from 956086d to e940ab5 Compare November 30, 2026 09:15
@mfroembgen

Copy link
Copy Markdown
Owner Author

Probe for #14; main now at 56b3071.

@mfroembgen mfroembgen closed this Nov 30, 2026
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