Flue preview reliability: rollout-safe gateway and minimal config CLI - #509
Merged
Conversation
Require gateway:invoke, validate scoped deploy claims, reject stale or epoch-less leases after provisioning, namespace session counters by tenant, and use constant-time admin auth. Keep X-OC-Session attribution best-effort and non-authoritative.
Sync non-secret agent.toml [vars] before deploy without erasing egress policy. Add oc agent config and oc agent secret commands plus the typed oc.agents.config SDK resource, preserving environment binding names through request normalization.
Add Flue-only AgentDetail settings for vars, fail-closed outbound hosts, and live secret rotation. Validate responses at the API boundary, show sync state, preserve secret write-only semantics, and keep the settings layout usable at narrow widths. Also coerce bigint event body sizes so spilled events remain visible.
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.
Stack
Review this as a focused delta on the Flue evergreen, #489 (
flue-native). It keeps one preview path and removes unused product surface.Kept after review
org/agt/ep; the gateway epoch fence remains.[vars]as the non-secret source of truth.oc agent secret set/list/delete; values are accepted only via--from-stdinand apply on the next deploy.body_bytescoercion so spilled events are retained.Simplified after review
X-OC-Sessionmutation; exact attribution waits for a race-free per-request Flue seam.Validation
go test ./cmd/oc/internal/commandsFull web lint still reports two pre-existing errors outside this diff in
Browsers.tsxandSessionDetail.tsx.Deferred
SDK/web config editors, live secret state, purpose-specific credentials, exact per-session spend, and other external-tenant GA controls are intentionally outside this preview-reliability slice.