Skip to content

Improve atlas build - #2927

Merged
p-hoffmann merged 2 commits into
developfrom
p-hoffmann/atlas-results-viewer-prebuilt
Jul 21, 2026
Merged

Improve atlas build#2927
p-hoffmann merged 2 commits into
developfrom
p-hoffmann/atlas-results-viewer-prebuilt

Conversation

@p-hoffmann

@p-hoffmann p-hoffmann commented Jul 21, 2026

Copy link
Copy Markdown
Member

No description provided.

…urce

The results-viewer's WebR/shinylive runtime needs a full R + renv toolchain,
which the build_plugins runner cannot provision — CI set SKIP_SHINYLIVE=1, so
CI-built trex images shipped the viewer without its runtime
(/atlas/plugins/results-viewer/shinylive/ absent, dead viewer).

trex-notebook now publishes @ohdsi/results-viewer with the runtime folded into
dist/ (built by its Dockerfile r-builder stage; OHDSI/trex-notebook#8). Switch
the file: dep to the published package and drop the R build path here:
build-atlas.sh loses the Rscript requirement and SKIP_SHINYLIVE, and CI builds
one fewer sub-plugin from the submodule. postinstall staging is unchanged —
it copies node_modules/@ohdsi/results-viewer/dist as before.
@p-hoffmann p-hoffmann changed the title Consume prebuilt @ohdsi/results-viewer (drops the R toolchain from the atlas build) Improve atlas built Jul 21, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 Atlas build process to stop building the results-viewer sub-plugin from the trex-notebook submodule (and thus removes the R/shinylive build requirement), instead consuming @ohdsi/results-viewer as a prebuilt package from GitHub Packages.

Changes:

  • Remove results-viewer from the locally-built Atlas sub-plugin list in scripts/build-atlas.sh.
  • Update plugins/atlas to depend on a published @ohdsi/results-viewer package version rather than a file: dependency.
  • Simplify the CI workflow by removing the results-viewer build step (and the SKIP_SHINYLIVE workaround) from the Docker build job.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
scripts/build-atlas.sh Drops the R-based results-viewer build path and builds only the remaining submodule-based sub-plugins.
plugins/atlas/package.json Switches @ohdsi/results-viewer from a local file: dependency to a pinned prebuilt package version.
.github/workflows/docker-build-push.yaml Removes results-viewer from the sub-plugin build loop and updates CI comments to reflect the new prebuilt approach.

@p-hoffmann p-hoffmann changed the title Improve atlas built Improve atlas build Jul 21, 2026
@p-hoffmann
p-hoffmann merged commit 71afc3e into develop Jul 21, 2026
45 checks passed
@p-hoffmann
p-hoffmann deleted the p-hoffmann/atlas-results-viewer-prebuilt branch July 21, 2026 03:35
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