Skip to content

Ship the Reactome welcome screen; mount the Plant Reactome one - #199

Merged
adamjohnwright merged 1 commit into
mainfrom
feat/per-deployment-welcome
Sep 10, 2026
Merged

adamjohnwright merged 1 commit into
mainfrom
feat/per-deployment-welcome

Conversation

@adamjohnwright

Copy link
Copy Markdown
Contributor

main shipped the Plant Reactome welcome text, so the Reactome deployment greeted users with a screen naming the wrong knowledgebase:

Welcome to React-to-me, your interactive chatbot for exploring Plant Reactome!

…on reactome.org.

The mechanism

chainlit renders chainlit.md from CHAINLIT_APP_ROOT at startup, and /app is read-only in the image now — so there is nothing for the application to choose at runtime, and no flag to read. The deployment selects instead:

  • the image ships chainlit.md — the Reactome page
  • Plant Reactome mounts chainlit.plantreactome.md over it

exactly as config.yml is already overridden. compose.yaml carries the commented mount line for both the authenticated and guest services:

#  - ./chainlit.plantreactome.md:/app/chainlit.md:ro

No code, which is the right amount for this.

Pinned

Six tests: both files exist, the shipped default names Reactome and not Plant Reactome, the variant names Plant Reactome, the Dockerfile ships the default and not the variant (shipping both would make it ambiguous which is in effect), and neither is empty — chainlit reads an empty chainlit.md as "no welcome screen at all".

The Reactome text is the one that had been sitting on security-improvements.

main shipped the Plant Reactome welcome text, so the Reactome
deployment greeted users with a screen naming the wrong
knowledgebase -- "your interactive chatbot for exploring Plant
Reactome!" on reactome.org.

chainlit renders chainlit.md from CHAINLIT_APP_ROOT at startup, and
/app is read-only in the image, so there is nothing for the
application to choose at runtime. The deployment selects instead:
the image ships the Reactome page, and Plant Reactome mounts
chainlit.plantreactome.md over it, exactly as config.yml is already
overridden. compose.yaml carries the commented mount line for both
services.

The Reactome text is the one from the security-improvements branch,
which is where it had been sitting.
@adamjohnwright
adamjohnwright merged commit ec6cdc0 into main Sep 10, 2026
10 checks passed
@adamjohnwright
adamjohnwright deleted the feat/per-deployment-welcome branch September 10, 2026 15:16
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.

1 participant