| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
scripts/lws-conformance.sh starts a throwaway single-user JSS as an open target (public-write root ACL) and runs ebremer/touchstone against it, with Docker if present or a JDK 21+ build of the CLI jar otherwise. Reports land in .touchstone/runs/ (gitignored). Exit codes follow Touchstone: 1 is a verdict, 2 is no verdict. Pinned to touchstone 5c49679 until ebremer/touchstone#3 lands, since master's Dockerfile omits the harness-clients module. Replaces the GitHub Actions workflow from #626; the conformance run is not something to push to Actions.
|
Note: the primary Touchstone target is now lwsd (linkedwebstorage/lwsd#10 adds scripts/touchstone.sh there, pointed at /lws/). This bare-JSS runner still measures the core-side items in #621 (412 on failed If-Match for GET/HEAD, .meta ETags, and whatever eventually makes host pods LWS-visible), so it's not redundant — but if that's not worth keeping, close this and docs/lws.md can point at lwsd instead. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Part of #621. Replaces #626 (closed — the conformance run shouldn't live on GitHub Actions).
scripts/lws-conformance.sh starts a throwaway single-user JSS on a temp data dir as an open target — public-write root ACL so Touchstone can POST its run root, no capabilities declared — and runs Touchstone against it. Docker if present, otherwise a JDK 21+ build of the CLI jar via the bundled Maven wrapper. Reports (EARL, HTML, JUnit, Markdown, JSON) land in .touchstone/runs/, gitignored. Server is killed on exit.
Exit codes follow Touchstone: 0 conformant, 1 non-conformant (a verdict — the expected state for now), 2 no verdict (misconfigured / unreachable, prints the JSS log).
Pinned to touchstone 5c49679 because master's Dockerfile omits the harness-clients module (ebremer/touchstone#2, fix in ebremer/touchstone#3); --ref master once that lands.
Also adds a short "Protocol conformance" section to docs/lws.md.
Not verified end-to-end on this machine — no Docker or JDK here. The JSS-start half and the public-write-ACL run-root POST were verified locally; the Touchstone half ran exactly this way on Actions in #626 (run 38605553311 → 12 passed / 41 failed / 11 cantTell / 139 inapplicable, baseline posted on #621). bash -n clean, prerequisite check exits 2 with a clear message.