[TECH DEBT] Remove deprecated Tornado IOLoop channel arguments in 3009.2
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Start with salt/channel/client.py and salt/utils/channel.py, then inspect the deprecation in PR #70604 and the tests covering these channel APIs. Remove Tornado IOLoop argument support from the listed entry points while preserving omitted and explicit asyncio loop behavior, loop identity and caller ownership. Done means Tornado inputs raise TypeError and normal asyncio calls remain warning-free.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description of the tech debt to be addressed
PR #70604 deprecates passing a Tornado IOLoop as io_loop to client-channel and worker-pool transport APIs. During the migration period, these APIs warn and use the supplied Tornado object's underlying asyncio loop. Removal is scheduled for Salt 3009.2 and tracked by warn_until((3009, 2), ...).
Complete the removal in 3009.2. Native asyncio loop arguments remain supported. Omitting io_loop continues to select the current thread's asyncio loop.
Cleanup checklist
- Reject Tornado
IOLooparguments with a clearTypeErrorinAsyncReqChannel.factory(),AsyncPubChannel.factory()andAsyncPubChannel.__init__()insalt/channel/client.py. - Apply the same removal to
create_client_transport()andcreate_request_client()insalt/utils/channel.py. - Remove the expired channel-argument warning and obsolete compatibility code/imports. Keep shared
aioloop()behavior still needed by unrelated, unmigrated callers. - Replace legacy warning/compatibility tests with tests that reject Tornado inputs. Retain coverage for omitted arguments, explicit asyncio arguments, selected-loop identity and caller ownership; normal asyncio calls must remain warning-free.
Timing and related work
Target release: 3009.2. Depends on the deprecation introduced in #70604. Part of #70366.
This follow-up concerns channel loop arguments. It does not schedule removal of the Tornado package or its other APIs.
Versions Report
N/A — planned cleanup for Salt 3009.2.
- Lingua principale
- Python
- Stelle
- 15.8k
- Fork
- 5.6k
- Merge medio
- 5g 9h
- PR unite (30g)
- 99
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un 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 saltstack/salt
-
[Bug]: Scheduled returns scan all accepted minion keys causing extreme loadForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertabug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
saltstack/salt#70789 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
-
[Bug]: pip.installed with upgrade=True upgrades a package but returns an empty changes dictionaryForse già presa @ITJamie l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 3 giorni
-
[Bug]: Minion with file_client: local crashes on connect: 'AsyncPillar' object has no attribute 'aclose'Forse già presa @shawnrruss l’ha presa 9 giorni fa. Apertabug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 3 giorni
-
[Bug]: mine.update clear=True raises UnboundLocalError on the master and stores nothingForse già presa @cestercian l’ha presa 11 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
saltstack/salt#70622 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di saltstack/salt
Issue simili
-
AI bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
AUTO-MAS-Project/AUTO-MAS#1960 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
btclib-org/btclib-wallet#872 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 87/100
btclib-org/btclib#3093 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
patrickballard/wheelgap#269 ·