ONC-69: PR preview with manual acceptance #71
No reviewers
Labels
No labels
factory:go
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
keineantwort.de/nextcloud-collectives!71
Loading…
Reference in a new issue
No description provided.
Delete branch "issue/69/onc-69-pr-vorschau-mit-manueller-abnahme"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #69
What changed
PR preview with manual acceptance (ADR 0035):
.forgejo/workflows/preview.yml: for every same-repo PR againstmain, on runnerdev-docker:CI / build-and-test (pull_request), then deploys from scratch;scripts/preview/: compose stack per PR (onc-preview-<pr>, ports 10000/11000/12000 + pr) with:main.js,manifest.jsonandstyles.cssfor a phone.configure-obsidian.mjssets the vault up over CDP: restricted mode off, app password in the secret storage, first sync must succeed.lib.mjsholds the pure helpers (79 unit tests).The Nextcloud accounts are the throwaway ones of
scripts/dev-nextcloud/.env.example:aliceandadmin. They are known in advance, so they stand in the PR template, the comment,AGENTS.mdand the guides.tests/acceptance/onc-69/: example case (vault, collective, guide EN/DE), seeded in this PR's own preview.AGENTS.mdsection "Manual acceptance", theCLAUDE.mdline, the new.forgejo/pull_request_template.md.Docs: ADR 0035,
docs/architecture.md,docs/ci-runner.md(runnerdev-docker, requirements, ports, RAM),docs/release.md,CONTRIBUTING.md.Tests
npm run build,npm run lintandnpm test(2195/2195) are green; alsonode --checkon the scripts and a YAML parse of the workflow.npm run test:int(88/88) is green as of4315ad3. The later commits only change preview scripts, docs and a comment line in.env.example.cc3a04dwas green.aliceand asadminworks (HTTP 200);Manual acceptance
dev-dockerexists.alice/local-alice-pw, adminadmin/local-admin-pw(throwaway,scripts/dev-nextcloud/.env.example)tests/acceptance/onc-69/guide.en.md·tests/acceptance/onc-69/guide.de.mdOpen points
Not verified:
dev-dockeris not set up yet (docs/ci-runner.md).Accepted risks (ADR 0035):
latestimage.Left from review, documented:
.obsidianconfig.preview.mjs(it was checked end-to-end instead).Follow-ups:
workflow_dispatchredeploy input.scripts/screenshots.scripts/affects-tests.shtreats acceptance cases as test-relevant.🤖 Generated with Claude Code
PR preview: removed (Vorschau entfernt)
The pull request is closed or merged, so its preview environment was removed.
Commit
f2e0d7e3d3a379d704eaf0ae68e36f1d106eeb77· Workflow run