Skip to content

Add workflow for automated deployment#37

Open
pierzchala-m wants to merge 19 commits into
mainfrom
add_workflow_for_automated_deployment
Open

Add workflow for automated deployment#37
pierzchala-m wants to merge 19 commits into
mainfrom
add_workflow_for_automated_deployment

Conversation

@pierzchala-m
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 28, 2026 19:30
@pierzchala-m pierzchala-m force-pushed the add_workflow_for_automated_deployment branch from f91dad5 to da10350 Compare April 28, 2026 19:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the repository to support automated deployments to Proxmox via GitHub Actions, and includes a couple of frontend build/integration updates in the fhir-scheduler package.

Changes:

  • Switch Proxmox deployment workflow to run on pushes to main and adjust deployment inputs for Docker-based runtime.
  • Update fhir-scheduler components to use buildQuestionnaireResponse from @mieweb/forms-renderer instead of toFhirQuestionnaireResponse.
  • Update demo HTML pages to load dist/style.css instead of dist/fhir-scheduler.css.

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
packages/fhir-scheduler/src/components/IntakeQuestionnaire.tsx Switches forms-renderer API usage to buildQuestionnaireResponse.
packages/fhir-scheduler/src/components/BookingForm.tsx Switches forms-renderer API usage to buildQuestionnaireResponse.
packages/fhir-scheduler/provider-view.html Updates stylesheet link to dist/style.css.
packages/fhir-scheduler/index.html Updates stylesheet link to dist/style.css.
.github/workflows/proxmox-deploy.yml Enables auto-deploy on main pushes and updates deployment configuration.

Comment thread .github/workflows/proxmox-deploy.yml Outdated
Comment thread .github/workflows/proxmox-deploy.yml Outdated
@pierzchala-m pierzchala-m force-pushed the add_workflow_for_automated_deployment branch from dfa5d4a to 7ff8953 Compare April 30, 2026 16:34
@pierzchala-m pierzchala-m force-pushed the add_workflow_for_automated_deployment branch from a5f4118 to 10bf39c Compare May 1, 2026 20:18
…ns answered

The "Continue to Provider Selection" button always showed "Please complete
all questions before continuing" regardless of answers given.

Root causes:
1. QuestionnaireRenderer v2.1.5 does not support the `onChange` or `storeRef`
   props — both were silently ignored, so completion state was never updated
   from its initial `false` value.
2. Even when using the internal store, only top-level section objects were
   checked (not nested question fields inside sections), so the check always
   evaluated against empty data.

Fix: Use the `ref` API (`getResponse()`) that QuestionnaireRenderer v2.1.5
actually exposes. Completion is now evaluated synchronously on button click by
reading answered field IDs from the renderer ref, reconstructing field state
to evaluate `enableWhen` visibility conditions, and verifying all visible
non-section fields have answers.

Also unblocks the previously `test.fixme`-marked E2E test that covered the
full new-patient questionnaire → booking flow, which is what allowed this
regression to go undetected.
@github-actions
Copy link
Copy Markdown

@pierzchala-m pierzchala-m requested a review from horner May 18, 2026 18:50
@pierzchala-m pierzchala-m force-pushed the add_workflow_for_automated_deployment branch from 40b9e8b to 2aca9a4 Compare May 19, 2026 13:28
…points

Agent-Logs-Url: https://github.com/mieweb/FHIRTogether/sessions/5d5f5d9e-465a-4cea-957a-0fe069228762

Co-authored-by: pierzchala-m <162727606+pierzchala-m@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 21, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • dl.google.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)
  • fonts.googleapis.com
    • Triggering command: /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell --disable-field-trial-config --disable-REDACTED-networking --disable-REDACTED-timer-throttling --disable-REDACTEDing-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-REDACTED-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=AcceptCHFrame,AvoidUnnecessaryBeforeUnloadCheckSync,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Translate,AutoDeElevate,RenderD h \#^vetr /home/REDACTED/.ca[:upper:] li/run-script/li[:lower:] ons/[^/]*)?/[^/]*/bin.*$&#34;) { nex--force-confdef (dns block)
    • Triggering command: /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell --disable-field-trial-config --disable-REDACTED-networking --disable-REDACTED-timer-throttling --disable-REDACTEDing-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-REDACTED-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=AcceptCHFrame,AvoidUnnecessaryBeforeUnloadCheckSync,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Translate,AutoDeElevate,RenderD de/node/bin/sh -I /home/REDACTED/.ca-e -I awk (dns block)
    • Triggering command: /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1200/chrome-headless-shell-linux64/chrome-headless-shell --disable-field-trial-config --disable-REDACTED-networking --disable-REDACTED-timer-throttling --disable-REDACTEDing-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-REDACTED-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=AcceptCHFrame,AvoidUnnecessaryBeforeUnloadCheckSync,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Translate,AutoDeElevate,RenderD ndor/bin/sh /home/REDACTED/.caawk -I if (a[i] &lt; ls (dns block)
  • iojs.org
    • Triggering command: /usr/bin/curl curl -q --fail --compressed -L -s REDACTED -o - (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI and others added 2 commits May 21, 2026 14:45
Agent-Logs-Url: https://github.com/mieweb/FHIRTogether/sessions/3733074a-e91f-44af-b9bb-2b2dbdb6c98f

Co-authored-by: pierzchala-m <162727606+pierzchala-m@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mieweb/FHIRTogether/sessions/3733074a-e91f-44af-b9bb-2b2dbdb6c98f

Co-authored-by: pierzchala-m <162727606+pierzchala-m@users.noreply.github.com>
@mieweb mieweb deleted a comment from Copilot AI May 21, 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.

4 participants