Keep Codex HTTP MCP registration noninteractive during activation #315
Labels
No labels
area:authentication
area:flake-utilities
area:performance
area:tbd
host:chaos
host:cosmos
host:electra
host:fleet
host:lena
host:lyra
host:mass-storage
host:media1
host:nimmog-de
host:nova
host:pangolin
host:pangolin-vps
host:phone
host:router
host:vega
investigation
phase:cutover
phase:deploy
phase:mcp
phase:module
phase:packaging
phase:prep
phase:validation
priority:high
priority:medium
project:attic-postgres-lyra-rollout
project:auto-update-reliability
project:auto-update-remediation
project:declarative-purity-cleanup
project:external-review
project:fleet-boundary-cleanup
project:host-facts-refactor
project:lyra-nixos-deploy
project:lyra-service-stack-migration
project:nebula-mesh-network
project:nix-idioms-hygiene
project:nixos-build-deployment-pipeline
project:security-hardening
project:service-stack-migration
project:vega-sillytavern-cutover
project:wiki-rebuild
repo:numtide/flake-utils
repo:numtide/nix-auth
repo:numtide/nixos-passthru-cache
repo:numtide/nix-relay
service:auto-update
service:gitlab
service:hermes
service:mem0
service:nix
service:sillytavern
service:slskd
service:synthseek
service:tdarr
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
nimmo/nixos-config#315
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Lyra's 2026-10-12 06:14 activation stalled in codexMcpConfig when
codex mcp add cloudflare --url ...launched OAuth. Home Manager timed out after five minutes and the switch reported failure. The immediate 06:19 retry succeeded because the entry had already been written; Home Manager and Paseo are active. Vega and Lyra are headless, confirmed by the user.Fix committed locally as
9844b56on fix/noninteractive-codex-mcp. The shared HTTP activation function now writes TOML with the existing helper, without invoking Codex registration or OAuth discovery. It supports environment-backed bearer tokens and preserves OAuth/user settings. README documents separate manual headless OAuth through an SSH-forwarded callback.Validation:
Remaining: user-requested publication/MR; required MR checks; canary system deployment and no-op follow-up before closure. Branch is not pushed and preventative change is not yet active in deployed generations. Related to #312; same Cloudflare Agent Tooling milestone.
MR #316 head
52c0440has now been test-deployed by the user on Lyra. Live checks confirm exact configurationRevision52c0440590, revised Home Manager generation, successful 07:36:22–07:36:24 BST activation (Result=success, ExecMainStatus=0), and active Home Manager/Paseo. Cloudflare registration did not wait for OAuth. A repeat of the deployed Cloudflare registration function on the real config preserved bytes and mtime, and Codex recognizes the HTTP endpoint. CI is green. This satisfies the affected-host test canary before merge; keep this issue open until persistent deployment and full deployment no-op follow-up are recorded.MR #316 merged with explicit user authorization as
2d1f6f90ba. Remote fix/noninteractive-codex-mcp branch deleted; controller returned to clean updated main and its local branch removed. Lyra's test checkout is also being returned to main and its merged branch removed. The affected-host test activation was confirmed before merge. This issue remains open for persistent deployment and full deployment no-op follow-up evidence; test activation is not represented as a persistent switch.