Skip to content

Fix smoke CI backend test collection failure by adding missing OPC-UA dependency - #2

Draft
VedantPanchal23 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-smoke-job-failure
Draft

Fix smoke CI backend test collection failure by adding missing OPC-UA dependency#2
VedantPanchal23 with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-smoke-job-failure

Conversation

Copilot AI commented Sep 1, 2026

Copy link
Copy Markdown

The smoke GitHub Actions job failed during backend pytest collection because tests/test_advanced_features.py imports connectors.opcua_server, which requires asyncua but it was not present in backend runtime dependencies. This PR adds the missing package to keep smoke’s backend container aligned with imported test/runtime modules.

  • Root cause addressed

    • Backend test collection imported OPC-UA server code path.
    • backend/requirements.txt did not include asyncua, causing ModuleNotFoundError.
  • Change

    • Added pinned dependency to backend requirements:
      • asyncua==1.1.5
  • Dependency diff

    # backend/requirements.txt
    qrcode==7.4.2
    asyncua==1.1.5

Co-authored-by: VedantPanchal23 <148608437+VedantPanchal23@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'smoke' Fix smoke CI backend test collection failure by adding missing OPC-UA dependency Sep 1, 2026
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