FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

scripts: Touchstone LWS conformance scoreboard, run locally (#621) by melvincarvalho · Pull Request #627 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Repository navigation

scripts: Touchstone LWS conformance scoreboard, run locally (#621) - #627

Open
melvincarvalho wants to merge 1 commit into
gh-pagesfrom
scripts/lws-conformance-621
Open

melvincarvalho wants to merge 1 commit into
gh-pagesfrom
scripts/lws-conformance-621

Conversation

Copy link
Copy Markdown
Contributor

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.

scripts/lws-conformance.sh                 # all modules
scripts/lws-conformance.sh --module core   # or auth, core/containers, a test id

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.

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.

Copy link
Copy Markdown
Contributor Author

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.

This branch has not been deployed

No deployments
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL