ci: e2e job overlaying fresh example build on nightly image#11
Open
juliusknorr wants to merge 3 commits into
Open
ci: e2e job overlaying fresh example build on nightly image#11juliusknorr wants to merge 3 commits into
juliusknorr wants to merge 3 commits into
Conversation
Builds the pkg example binary and overlays it onto ghcr.io/euro-office/documentserver:nightly, then runs the DocumentServer Playwright e2e suite for fast full-stack feedback. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: Julius Knorr <jus@bitgrid.net>
331edca to
312bfff
Compare
Surface the real example-app startup error in CI (the e2e harness removes its container on teardown), to diagnose why /example/ does not come up. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: Julius Knorr <jus@bitgrid.net>
The example crashed at startup (Cannot find module onlyoffice-docs-formats.json) because document-formats/document-templates are submodules that pkg embeds via public/**; the checkout skipped them. Init just the nodejs example's asset submodules so /example/ comes up. Assisted-by: ClaudeCode:claude-opus-4-8 Signed-off-by: Julius Knorr <jus@bitgrid.net>
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.
Adds an
e2eworkflow that builds the Node.js example app (pkg), overlays it ontoghcr.io/euro-office/documentserver:nightly, and runs the DocumentServer Playwright e2e suite against it. The suite drives/example/, so a change here is directly exercised without rebuilding the rest of the stack.How it works
document-formats,document-templates,plugin-aiautofill) sopkgcan embed them viapublic/**— without them the binary crashes at startup (Cannot find module onlyoffice-docs-formats.json) and/example/never comes up.documentserver-example/example; path discovered via thesdkjsdir), and runs the e2e suite fromEuro-Office/DocumentServer(matching branch, fallbackmain).All involved repos and the documentserver package are public (no PAT).
Verified green against the current nightly.