update 1.1.2
This commit is contained in:
@@ -26,7 +26,7 @@ refactor the current `youdis.py` flow so authorization, download execution, and
|
||||
- store Discord user ids as strings in `users.json`
|
||||
- duplicate prevention should continue to rely on `archive.txt`, not inferred hook errors
|
||||
|
||||
* [ ] 1.1.2: remove global mutable download state and define single-job semantics (estimate 2 commits)
|
||||
* [X] 1.1.2: remove global mutable download state and define single-job semantics (estimate 2 commits)
|
||||
eliminate shared mutable hook state and make concurrent behavior explicit, even if the initial policy is just "one active job at a time." don't build a scheduler; ok if simplest outcome is single active job with clear busy message. cancellation can be coarse if yt-dlp/process boundaries make graceful stop annoying
|
||||
|
||||
** acceptance criteria
|
||||
@@ -45,9 +45,9 @@ eliminate shared mutable hook state and make concurrent behavior explicit, even
|
||||
- command behavior matches implementation
|
||||
|
||||
** evidence
|
||||
- commit:
|
||||
- tests:
|
||||
- datetime:
|
||||
- commit: 667b06f
|
||||
- tests: ~python3 -m py_compile /home/user/proj/youdis/youdis.py~
|
||||
- datetime: [2026-03-31 Tue 14:00]
|
||||
|
||||
** notes
|
||||
- verify slash-command response patterns against the `interactions` library while touching runtime flow
|
||||
|
||||
Reference in New Issue
Block a user