Skip to content

Add more information to the fallback server #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 8, 2025

Conversation

julianstirling
Copy link
Contributor

Adds more information to the fallback server:

  • Display the traceback, but this isn't always too helpful
  • Optionally pass log history for display

Screenshot with OFM server passing through logs:

image

* Display the traceback, but this isn't always too helpful
* Optionally pass log history for display
@julianstirling julianstirling force-pushed the more-fallback-info branch 2 times, most recently from 6798c3b to f5c360e Compare April 6, 2025 18:08
Copy link

barecheck bot commented Apr 6, 2025

Barecheck - Code coverage report

Total: 84.08%

Your code coverage diff: 2.48% ▴

Uncovered files and lines
FileLines
src/labthings_fastapi/server/fallback.py73

If there is a problem on master then base_coverage will never pass
meaning that coverage will never be run.
@julianstirling
Copy link
Contributor Author

Took a while to get the pipelines to pass, due to both the base coverage erroring and also code that was tested not registering as tested. These are now fixed

@rwb27
Copy link
Collaborator

rwb27 commented Apr 7, 2025

I've looked through the changes - I've only skimmed the test code, but this looks ready to merge to me. Thanks for sorting out the tests/CI!

@julianstirling julianstirling merged commit 371e2d7 into main Apr 8, 2025
13 checks passed
@julianstirling julianstirling deleted the more-fallback-info branch April 8, 2025 08:05
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.

2 participants