Skip to content

Add more information to the fallback server#98

Merged
julianstirling merged 8 commits intomainfrom
more-fallback-info
Apr 8, 2025
Merged

Add more information to the fallback server#98
julianstirling merged 8 commits intomainfrom
more-fallback-info

Conversation

@julianstirling
Copy link
Copy Markdown
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
@barecheck
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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
xuqi2024 pushed a commit to xuqi2024/openflexure-microscope-server that referenced this pull request Jul 15, 2025
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