Skip to content
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

Release 4.2.0 #239

Merged
merged 269 commits into from
Feb 21, 2025
Merged

Release 4.2.0 #239

merged 269 commits into from
Feb 21, 2025

Conversation

dostuffthatmatters
Copy link
Member

@dostuffthatmatters dostuffthatmatters commented Feb 20, 2025

Resolved Issues:

Codebase Checks:

  • Migration rules and tests added to setup tool
  • Version number updated everywhere
  • All operational checks pass on ma
  • All operational checks pass on mc

Operational Checks System 1 (ma)

  • Integration tests pass
  • CamTracker startup works
  • CamTracker shutdown works
  • OPUS startup works
  • OPUS shutdown works
  • Core startup works
  • Core shutdown works
  • Macro starting works
  • Macro stopping works
  • Manual measurements works
  • CLI measurements works
  • Automatic measurements works
  • Helios works
  • Manual PLC commands work
  • Manual cover closing works
  • Camera power cycle works
  • Config changes work
  • File Upload works
  • Directory Upload works

Operational Checks System 2 (mc)

  • Integration tests pass
  • CamTracker startup works
  • CamTracker shutdown works
  • OPUS startup works
  • OPUS shutdown works
  • Core startup works
  • Core shutdown works
  • Macro starting works
  • Macro stopping works
  • Manual measurements works
  • CLI measurements works
  • Automatic measurements works
  • Helios works
  • Manual PLC commands work
  • Manual cover closing works
  • Camera power cycle works
  • Config changes work
  • File Upload works
  • Directory Upload works

use new opus thread
remov old opus module
add setup test to opus thread
use new opus thread in entire codebase
add error handling to new opus thread
add newly available OPUS function calls
rewrite setup_test function
improve documentation of function `some_macro_is_running`
Extend State
Stop OPUS if a macro with an unknown ID is running.
Finish new start/stop macro logic
Finish new shutdown logic in CLI
Raise an exception when the macro has crashed
Debug macro crashing exception raising/resolving
simplify exception raising code
raise exceptions from upload thread as well
raise exceptions from helios thread as well
Add Python and Windows version checks to system checks
Raise exceptions from system checks thread
Ping EM27 every 5 minutes when measurements should be running
Start new CamTracker thread class
Write logic to start and stop CamTracker
Add functions to check enclosure cover state and to test the setup
Add and refactor function to determine tracker position
Add and refactor function to validate the tracker position
dostuffthatmatters and others added 15 commits January 13, 2025 17:20
Remove unused dependencies
Add retrying directly to HTTP function
Use OPUS HTTP interface from `tum-esm-utils`.
Remove unused copy of OPUS HTTP interface
Only send emails when `ConnectionError` happens twice within 10 minutes.
Raise all exceptions either as `snap7.exceptions.Snap7Exception` or `interfaces.TUMEnclosureInterface.PLCError`. The latter meaning that the Snap7 communication was correct, but the PLC did not react correctly based on the command
@dostuffthatmatters dostuffthatmatters changed the title Integration 4.2.0 4.2.0 Feb 20, 2025
Copy link

netlify bot commented Feb 20, 2025

Deploy Preview for pyra-4-documentation canceled.

Name Link
🔨 Latest commit 3ab216b
🔍 Latest deploy log https://app.netlify.com/sites/pyra-4-documentation/deploys/67b796e79d353b0008b90e36

@dostuffthatmatters dostuffthatmatters changed the title 4.2.0 Release 4.2.0 Feb 20, 2025
dostuffthatmatters and others added 10 commits February 20, 2025 15:11
upgrade NodeJS runtime
add explicit node version file
test `config.json`
order integration tests, make quick/config tests go first
Stopping is by macro ID only works for OPUS 8.X but not OPUS 7.X. Hence we should always stop it by path.
@dostuffthatmatters dostuffthatmatters merged commit 3ab216b into main Feb 21, 2025
6 checks passed
@dostuffthatmatters dostuffthatmatters deleted the integration-4.2.0 branch February 21, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment