Add OPC UA demo drift mode and controls#202
Merged
Merged
Conversation
smithaldon1
commented
May 23, 2026
Member
Author
smithaldon1
left a comment
There was a problem hiding this comment.
Reviewed and approved for merge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #190.
StartDriftandResetDemoOPC UA methods on the State object.StartDriftis called.StartDriftcalls safe by returningalready_activewithout resetting the drift clock.Test Evidence
.venv/bin/python -m pytest services/simulator/tests/test_opcua_demo_server.py services/simulator/tests/test_opc_ua_demo_namespace_docs.py- 9 passedmake test- 204 passedmake lint- All checks passedmake typecheck- compileall completed successfullymake docs- Markdown-only docs target completeddocker compose -f infra/docker/docker-compose.yml config- passedgit diff --check- passedgit diff --cached --check- passedDocker runtime note:
docker compose -f infra/docker/docker-compose.yml up --build -d opcua-simulatorcould not be completed in this environment because the Docker daemon/socket is unavailable:failed to connect to the docker API at unix:///Users/aldonsmith/.docker/run/docker.sock.docker versionshows the Docker client is installed, but daemon connection fails with the same socket error.StartDrift, repeated start behavior, drift value changes, state tag changes, and reset behavior outside Docker.Docs Impact
services/simulator/README.mdwithStartDrift,ResetDemo, compressed drift timing, idempotent start behavior, and reset behavior.docs/demo/OPC_UA_DEMO_NAMESPACE.mdwith demo control methods and demo-only control boundaries.docs/LEARNING_LOG.mdwith the learning summary.Follow-up Work