Skip to content

dx: Remove config for default client in repl - #1816

Open
tpoliaw wants to merge 1 commit into
mainfrom
ws-repl
Open

tpoliaw wants to merge 1 commit into
mainfrom
ws-repl

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

When using just repl, the client no longer needs to configure a stomp
connection and can rely on the websocket plan endpoint.

When using `just repl`, the client no longer needs to configure a stomp
connection and can rely on the websocket plan endpoint.
@tpoliaw
tpoliaw requested a review from a team as a code owner November 26, 2026 15:10
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The repl recipe now creates its BlueapiClient with BlueapiClient.for_host() instead of loading it from TEST_CONFIG. It still sets the cm12345-1 instrument session.

Changes: REPL Client Initialization

Layer / File(s) Summary
Update REPL client initialization
justfile
The recipe uses BlueapiClient.for_host() instead of BlueapiClient.from_config_file(TEST_CONFIG). It retains the cm12345-1 instrument session.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: zohebshaikh, shree-iyengar-dls

Merge Risk: Minimal · up to c6695

This is a small developer-experience change to the repl recipe. It no longer needs a STOMP configuration, and it still targets the same default server port. No actionable merge risk was found.

Pre-merge checks: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The author description is one sentence. It states the purpose: when using just repl, the client no longer needs a STOMP connection configuration and can use the websocket plan endpoint. It does not in… Add the following to the PR description, following the repository template: 1) A 'Fixes #ISSUE' line that links the related issue, or state that no issue exists. 2) A 'What and why' section that explains the change to the repl recipe. It re…
Passed Passed checks: 3 passed

Check name Status Explanation
Title check Passed The title "dx: Remove config for default client in repl" matches the change. The justfile diff replaces TEST_CONFIG loading in the repl recipe with BlueapiClient.for_host(), while keeping the cm12345-…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "dx: Remove config for default client in repl" matches the change. The justfile diff replaces TEST_CONFIG loading in the repl recipe with BlueapiClient.for_host(), while keeping the cm12345-1 instrument session. The title follows Conventional Commits, and the 'dx' type fits a developer-experience change. It names the removed config and the affected recipe, so a reviewer can identify the main change.

Full details: Description check

Explanation

The author description is one sentence. It states the purpose: when using just repl, the client no longer needs a STOMP connection configuration and can use the websocket plan endpoint. It does not include the template's Fixes #ISSUE line, the What and why section beyond one sentence, reviewer test steps, a breaking changes statement, or the author and reviewer checklists. The description is partly complete. The core purpose is clear, but the template sections are missing.

Resolution

Add the following to the PR description, following the repository template: 1) A 'Fixes #ISSUE' line that links the related issue, or state that no issue exists. 2) A 'What and why' section that explains the change to the repl recipe. It replaces TEST_CONFIG with BlueapiClient.for_host() and keeps the cm12345-1 instrument session. 3) 'Instructions to reviewer on how to test' with concrete steps, for example: run just repl, then confirm the client connects and can fetch plans through the websocket endpoint. 4) A 'Breaking changes' section. State whether users must change any configuration, or write 'None'. 5) Complete the author checklist. Confirm whether tests were added or updated and whether docs changed. Complete the reviewer checklist items where applicable.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0984b0d4-0be8-49f0-92e1-8dcd9e4dc5ef
Commits

Reviewing files that changed from the base of the PR and between 362059a and c6695e8.

Files selected for processing: 1

  • justfile

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.32%. Comparing base (362059a) to head (c6695e8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1816   +/-   ##
=======================================
  Coverage   96.32%   96.32%           
=======================================
  Files          50       50           
  Lines        3832     3832           
=======================================
  Hits         3691     3691           
  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.

This branch has not been deployed

No deployments
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.

1 participant