SIENTIAPDE-1811

Update .gitignore, requirements, and enhance OPC UA error handling

- Added new entries to .gitignore for openspec and cursor directories.
- Updated sientia-dataops-library dependency version in requirements-light.txt from 1.10.4 to 1.12.0.
- Enhanced OPC UA communication by refining reconnect logic and error handling in opc_repository.py, including the introduction of a reconnect flag and improved session management.
- Updated tests to cover new reconnect scenarios and ensure robust error handling for protocol states.
This commit is contained in:
vitor-aignosi
2026-05-19 11:45:08 -03:00
parent c2e2a8ff7a
commit 0c9bea54c0
3 changed files with 14 additions and 1 deletions

2
.gitignore vendored
View File

@@ -55,4 +55,4 @@ mlruns/
relatorio*
openspec/*
.cursor/*
.cursor/*

View File

@@ -242,6 +242,7 @@ async def main():
activities.cleanup_minio_objects_expired,
activities.repeat_last_prediction,
activities.export_data_to_postgres,
activities.export_payload_to_postgres,
activities.write_metrics,
# Pi Web API
activities.write_pi_web_api_data,

12
requirements-light.txt Normal file
View File

@@ -0,0 +1,12 @@
temporalio
psycopg2-binary
sqlalchemy
asyncua
redis
git+ssh://git@github.com/Aignosi/sientia-dataops-library.git@1.12.0
prometheus-client
botocore
boto3
s3fs
pyarrow
mlflow