Skip to content

Conversation

@tieneupin
Copy link
Contributor

The TUI app has not seen use for a good few months, and has not been updated now that the instrument server workflow is mature and working smoothly. This PR removes all files, folders, and class attributes that are refer to the TUI app or call things from it, substantially reducing the presence of unmaintained/deprecated code in our repo.

@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 42.48%. Comparing base (a5a2614) to head (a5b2ee8).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #715      +/-   ##
==========================================
+ Coverage   40.30%   42.48%   +2.18%     
==========================================
  Files          99       94       -5     
  Lines       11602    10346    -1256     
  Branches     1553     1345     -208     
==========================================
- Hits         4676     4396     -280     
+ Misses       6708     5733     -975     
+ Partials      218      217       -1     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tieneupin tieneupin self-assigned this Dec 11, 2025
@tieneupin tieneupin added client Relates to the client component dependencies labels Dec 11, 2025
Copy link
Contributor

@stephen-riggs stephen-riggs left a comment

Choose a reason for hiding this comment

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

Looks good to me
If you've not already done so it's probably worth running the instrument server with this version just to check nothing unexpected happens

"fastapi[standard-no-fastapi-cloud-cli]>=0.116.0",
"pydantic>=2",
"pydantic-settings",
"python-jose",
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to be python-jose[cryptography] like it was before or is that not needed any more?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had a look at the original repo, and the cryptography optional dependency installs only cryptography. python-jose can thus be safely moved under our general dependencies.

settling_time: float = 60,
appearance_time: float | None = None,
substrings_blacklist: dict[str, dict] = {},
substrings_blacklist: dict[str, list[str]] = {},
Copy link
Contributor

Choose a reason for hiding this comment

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

What caused the type to change here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was an actual type hinting mistake on my part that went uncaught by pre-commit previously!

substrings_blacklist has the form:

{
  "directories": ["string1", "string2", ...],
  "files": ["string1", "string2", ...],
}

so its type should be dict[str, list[str]].

@tieneupin tieneupin merged commit cdbf693 into main Dec 12, 2025
31 checks passed
@tieneupin tieneupin deleted the remove-tui-components branch December 12, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client Relates to the client component dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants