feat(gateway): select deployments from bounded runtime signals - #163
Draft
tcballard wants to merge 1 commit into
Draft
feat(gateway): select deployments from bounded runtime signals#163tcballard wants to merge 1 commit into
tcballard wants to merge 1 commit into
Conversation
…ap:WF-ROADMAP-0010]
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.
Summary
Refs #148
Parent: #146
Scope
Included:
Not included:
Product / Architecture Decisions
User-Facing Contract
x-wayfinder-router-deploymentandx-wayfinder-router-deployment-selection.Verification
cargo fmt --manifest-path rust/Cargo.toml --all -- --checkgit diff --checkcargo clippy --manifest-path rust/Cargo.toml --workspace --all-targets --all-features --locked -- -D warningscargo test --manifest-path rust/Cargo.toml --workspace --all-features --locked(full workspace passed, including gateway and Redis-backed suites)node clients/shared/test/parity.mjs(21/21 score, routing, and feature parity)Review Path
Please review the policy boundary and fallback semantics first, then the buffered/streaming observation lifecycle, bounded metric labels, and configuration compatibility. The routing-core decision itself is intentionally untouched.
Notes for Reviewer
The process-local observation clock is monotonic and shared across config reloads. Runtime signals are prompt-free and bounded to avoid high-cardinality/flood behavior. The full test suite initially exposed an existing metrics compatibility fixture sensitivity; new metric families are emitted only when populated, preserving the empty exposition contract.