mrc-ide / rrq

:runner::runner::runner: Lightweight Redis queues
https://mrc-ide.github.io/rrq/
Other
24 stars 4 forks source link

mrc-4071: Add print method to worker_info #78

Closed r-ash closed 1 year ago

r-ash commented 1 year ago

It now will print as e.g.

<rrq_worker_info>
  crackable_dunnart_1
    rrq_version:   0.6.7
    platform:      x86_64-pc-linux-gnu (64-bit)
    running:       Ubuntu 22.04.2 LTS
    hostname:      wpia-dide270
    username:      rashton
    queue:         rrq:f49f4712f8f186dbb101db14873cf8b3:queue:default
    wd:            /home/rashton/projects/rrq
    pid:           651658
    redis_host:    127.0.0.1
    redis_port:    6379
    heartbeat_key: rrq:f49f4712f8f186dbb101db14873cf8b3:worker:crackable_dunnart_1:heartbeat
  lighthearted_hapuku_1
    rrq_version:   0.6.7
    platform:      x86_64-pc-linux-gnu (64-bit)
    running:       Ubuntu 22.04.2 LTS
    hostname:      wpia-dide270
    username:      rashton
    queue:         rrq:f49f4712f8f186dbb101db14873cf8b3:queue:default
    wd:            /home/rashton/projects/rrq
    pid:           651612
    redis_host:    127.0.0.1
    redis_port:    6379
    heartbeat_key: rrq:f49f4712f8f186dbb101db14873cf8b3:worker:lighthearted_hapuku_1:heartbeat
codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (3bf91b3) 100.00% compared to head (fef707e) 100.00%.

:exclamation: Current head fef707e differs from pull request most recent head 767ee4a. Consider uploading reports for the commit 767ee4a to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #78 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 27 27 Lines 1717 1726 +9 ========================================= + Hits 1717 1726 +9 ``` | [Impacted Files](https://codecov.io/gh/mrc-ide/rrq/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mrc-ide) | Coverage Δ | | |---|---|---| | [R/format.R](https://codecov.io/gh/mrc-ide/rrq/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mrc-ide#diff-Ui9mb3JtYXQuUg==) | `100.00% <100.00%> (ø)` | | | [R/rrq\_controller.R](https://codecov.io/gh/mrc-ide/rrq/pull/78?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mrc-ide#diff-Ui9ycnFfY29udHJvbGxlci5S) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mrc-ide). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=mrc-ide)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.