chore: Remove the decline_responses_websockets translation after a deprecation release
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
First confirm that a release has shipped the warning and that the project is ready for a breaking change. Then inspect core/config/config.go and core/config/validate.go, and review the history of #1467 for the earlier refusal. Update TestLoad_DeprecatedDeclineKeyStillApplies into a refusal test and remove the old-key references from the three named docs; done means the old key is refused with a message naming its replacement mode and the release notes mark the change as breaking.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What
v0.9.4 shipped listener.decline_responses_websockets, a boolean. #1467 replaces it with listener.responses_websockets: parse | decline | forward. To keep v0.9.4 configs working, #1467 still reads the old key when the new one is unset (true → decline, false → forward), logs a WARN naming the new key, and refuses a config that sets both.
This issue tracks removing that translation.
When
Not before both of these:
- At least one release has shipped the warning. A user who set the old key should have had a release that told them to change it before one that refuses it.
- A release the project is willing to label a breaking change. Before 1.0, semver allows a breaking change in any release, and this repo has done it: #1429 shipped in v0.9.2, a patch release, listed under "Breaking changes" in its notes. So this does not have to wait for 1.0, but it needs a deliberate release-notes entry, not a silent removal.
What removal means
Do not delete the field outright. If the field were simply deleted, the YAML would ignore the key, and a config that set decline_responses_websockets: false would quietly get the default, parse, with no word said. Replace the translation with a startup refusal that names the mode the old value maps to. That refusal is what #1467 did before v0.9.4 shipped the key, and it is in that PR's history.
core/config/config.go:DeclineResponsesWebSocketsand the fallback inResponsesWebSocketsMode.core/config/validate.go: the WARN and the both-set refusal become a single refusal.TestLoad_DeprecatedDeclineKeyStillAppliesbecomes a refusal test.- Docs:
docs/agents/codex.md,docs/framework-architecture.mdandCLAUDE.mddescribe the old key; drop those lines.
PR title prefix: Breaking change:, so the release notes say so.
- Lingua principale
- Go
- Stelle
- 23
- Fork
- 44
- Merge medio
- 16h 37m
- PR unite (30g)
- 250
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rossoctl/cortex
-
UI shows costs for all sessions even when drilled into a sessionForse già presa @esnible l’ha presa 20 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
rossoctl/cortex#1116 · 2 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
feedback laptop
Difficoltà 5/5 Più di una settimana Idoneità per principianti 28/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 60/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 Più di una settimana Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di rossoctl/cortex
Issue simili
-
Routing rule or circuit breaker trip expression with an unknown CEL function hangs daprdForse già presa @RaphaelFakhri l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
[falco-talon] Setting `podAnnotations` makes the chart fail to renderForse già presa @RaphaelFakhri l’ha presa oggi. Apertaneeds-kind
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
falcosecurity/charts#1084 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
DataDog/terraform-provider-datadog#4479 ·
I maintainer di solito rispondono entro 2 giorni
-
component/tests needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
NVIDIA/nodewright#967 ·
I maintainer di solito rispondono entro 1 giorno