Skip to content

chore: Add 'listen' task to justfile - #1750

Merged
tpoliaw merged 1 commit into
mainfrom
just-listen
Nov 13, 2026
Merged

tpoliaw merged 1 commit into
mainfrom
just-listen

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Easily stream documents from the message bus without passing config

$ just listen

is equivalent to

$ blueapi controller listen

with the correct configuration passed in.

An optional argument lets the format be set as well so

$ just listen json | jq

will stream messages as raw JSON and pipe them through jq to be
pretty-printed.

@tpoliaw
tpoliaw requested a review from a team as a code owner November 11, 2026 18:31
@codecov

codecov Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.31%. Comparing base (065ce78) to head (8507aaa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1750   +/-   ##
=======================================
  Coverage   96.31%   96.31%           
=======================================
  Files          50       50           
  Lines        3831     3831           
=======================================
  Hits         3690     3690           
  Misses        141      141           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw

tpoliaw commented Nov 11, 2026

Copy link
Copy Markdown
Contributor Author

Must be one of: feat, fix, docs, test, ci, refactor, perf, chore, revert, depr

Can we add something for things like this that aren't features and don't affect the actual product but make our lives easier?

@shree-iyengar-dls

Copy link
Copy Markdown
Contributor

Must be one of: feat, fix, docs, test, ci, refactor, perf, chore, revert, depr

Can we add something for things like this that aren't features and don't affect the actual product but make our lives easier?

dx: developer experience 😆

@tpoliaw tpoliaw changed the title dev: Add 'listen' task to justfile chore: Add 'listen' task to justfile Nov 13, 2026
@tpoliaw

tpoliaw commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Using chore for now, I think that's what we've used for previous just changes

Easily stream documents from the message bus without passing config

    $ just listen

is equivalent to

    $ blueapi controller listen

with the correct configuration passed in.

An optional argument lets the format be set as well so

    $ just listen json | jq

will stream messages as raw JSON and pipe them through jq to be
pretty-printed.
@tpoliaw
tpoliaw added this pull request to the merge queue Nov 13, 2026
Merged via the queue into main with commit b8c1dc0 Nov 13, 2026
20 checks passed
@tpoliaw
tpoliaw deleted the just-listen branch November 13, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants