docket-rs has no operator command line

Aperta
#538 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python, redis, rust
Ambito
backend, cli

Direzione di ricerca

Start by comparing pydocket's existing docket command and docket-rs's cli feature and WorkerArgs; the issue does not name specific files or tests. Map the commands, options, environment variables, output, and example tasks before tackling the cross-implementation conformance scenario. Done means the binary and logging options match the stated behavior and the scenario verifies strike, restore, and snapshot parity.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

gap rust

pydocket installs a docket command for operating a docket from a shell: worker, strike, restore, clear, snapshot (with --stats), watch KEY, workers ls, workers for-task, and version. It also registers three tasks on every docket, trace, fail, and sleep, which the docket tasks commands add to try out a deployment.

docket-rs ships no binary. Its cli feature gives docket::cli::WorkerArgs, the docket worker options as a clap struct to flatten into your own binary, and shutdown_signal(). So an operator of a docket-rs deployment can't strike a task, read a snapshot, list the workers, or follow one task's state without writing code. WorkerArgs also has no --logging-level or --logging-format (DOCKET_LOGGING_LEVEL, DOCKET_LOGGING_FORMAT).

Done when
  • docket-rs has a docket binary with pydocket's commands, options, environment variables, and output.
  • WorkerArgs has the logging options.
  • docket-rs has the trace, fail, and sleep tasks, or the plan says why it doesn't.
  • A conformance scenario runs each implementation's command line against its own docket and shows that the commands do the same things: a strike stops a task, a restore lets it run, and a snapshot lists the same tasks.
Lingua principale
Python
Stelle
148
Fork
12
Merge medio
15h 49m
PR unite (30g)
45

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chrisguidry/docket

Tutte le issue di chrisguidry/docket

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.