Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
PROVIDER_REV := 19ce4c7f11c7747a93068b7679fc4436aa40e398
PROXY_REV := 9828a137217426b9d6fe3115d3a4ca5ae789aa92
VERIFIER_REV := c5e0608cd0f938038af0031446e06d24cef73087
UTILS_REV := 88b7f0585b1df438931d200e053ad918ff0958fb
PROVIN_REV := f12fb8f24bbd833a7a14dfbdd8e5274e395120f6
PROVIN_REV := 74e22644dd1d65921015942bbac6677d175f69fc

define clone_or_pull
@if [ -d "$(1)/.git" ]; then \
Expand All @@ -28,15 +27,11 @@ pull: setup
# Exercise the actual downstream DID grant and policy extensions before release.
.PHONY: setup-provin test-provin
setup-provin:
$(call clone_or_pull,repos/auth.utils,git@github.com:o3co/auth.utils.git,$(UTILS_REV))
$(call clone_or_pull,repos/auth.provider,git@github.com:o3co/auth.provider.git,$(PROVIDER_REV))
$(call clone_or_pull,repos/auth.policy-verifier,git@github.com:o3co/auth.policy-verifier.git,$(VERIFIER_REV))
$(call clone_or_pull,repos/provin.auth,git@github.com:provin-line/auth.git,$(PROVIN_REV))

test-provin: setup-provin
# The pinned utils revision has no tracked lockfile; keep its test lock here.
cp tests/provin/auth-utils.pnpm-lock.yaml repos/auth.utils/pnpm-lock.yaml
cd repos/auth.utils && pnpm install --frozen-lockfile && pnpm run build
cd repos/auth.provider && pnpm install --frozen-lockfile && pnpm --filter @o3co/auth-provider-oauth... run build
cd repos/auth.policy-verifier && pnpm install --frozen-lockfile && pnpm --filter @o3co/auth.policy-verifier.server... --filter @o3co/auth.policy-verifier.builtins... run build
node tests/provin/run.mjs
Expand Down
6 changes: 1 addition & 5 deletions tests/provin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

`make test-provin` tests actual `provin-line/auth` source pinned in the Makefile
against the candidate Provider/Verifier revisions used by the Bearer E2E suite.
It packs the five Provider/Verifier packages plus pinned auth.utils, overriding every matching direct
It packs the five Provider/Verifier packages, overriding every matching direct
and transitive dependency. No npm release or image push is needed.

It covers workspace build/typecheck/tests, DID issuance and HTTP policy decisions,
Expand All @@ -13,10 +13,6 @@ the generated Provider's valid/tampered DID-signature grant.
`instances/` regenerated. Use a fresh checkout for fresh dependency resolution.
Do not use this test checkout for application work.

The pinned auth.utils revision does not track a lockfile. Its dependency snapshot
is kept here as `auth-utils.pnpm-lock.yaml` and installed with
`--frozen-lockfile`; refresh it deliberately when changing `UTILS_REV`.

The consumer's generated release pins remain unchanged. Deploying the candidate
fixes requires deliberately using the tested artifacts/revisions and updating
configuration. This check does not deploy a Provin node, prove registry ACLs or
Expand Down
Loading
Loading