Skip to content

refactor: add structure to api routes - #1757

Open
ZohebShaikh wants to merge 1 commit into
mainfrom
ZohebShaikh/rearrange-api-routes-into-neater-seperate-files
Open

ZohebShaikh wants to merge 1 commit into
mainfrom
ZohebShaikh/rearrange-api-routes-into-neater-seperate-files

Conversation

@ZohebShaikh

@ZohebShaikh ZohebShaikh commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

closes #1101

@ZohebShaikh
ZohebShaikh requested a review from a team as a code owner November 13, 2026 19:02
@codecov

codecov Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 99.02280% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.37%. Comparing base (a6d4a99) to head (250b0e3).

Files with missing lines Patch % Lines
src/blueapi/service/routes/dependencies.py 91.89% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1757      +/-   ##
==========================================
+ Coverage   96.32%   96.37%   +0.04%     
==========================================
  Files          50       58       +8     
  Lines        3833     3885      +52     
==========================================
+ Hits         3692     3744      +52     
  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.

@shree-iyengar-dls shree-iyengar-dls left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New structuring and layout is very clear 👌

To test this, do we just need to go to your branch and test the endpoints?

@ZohebShaikh

Copy link
Copy Markdown
Contributor Author

Yes, I just ran uv run blueapi serve to see if the docs pages looks good otherwise everything else is tested in the CI so it should be good to go

@shree-iyengar-dls

Copy link
Copy Markdown
Contributor

Managed to load up the docs page fine. Tested the get devices endpoint and got a 200 but no devices. This is what we expect right?

Otherwise PR lgtm

@ZohebShaikh

ZohebShaikh commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Managed to load up the docs page fine. Tested the get devices endpoint and got a 200 but no devices. This is what we expect right?

It takes some time for the devices to connect, I have not made any change to the system-test which check if the devices are connected. So it should be okay

@ZohebShaikh
ZohebShaikh force-pushed the ZohebShaikh/rearrange-api-routes-into-neater-seperate-files branch from efbaf38 to 10c45c9 Compare December 2, 2026 11:35
@ZohebShaikh
ZohebShaikh force-pushed the ZohebShaikh/rearrange-api-routes-into-neater-seperate-files branch from 10c45c9 to 250b0e3 Compare December 2, 2026 11:37

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.

Rearrange API routes into neater seperate files

2 participants