Skip to content

refactor(identity-webhook): remove legacy-env, ship 0.4.0#8

Merged
eliteprox merged 4 commits into
feat/balance-gatefrom
refactor/remove-legacy-env
Jul 15, 2026
Merged

refactor(identity-webhook): remove legacy-env, ship 0.4.0#8
eliteprox merged 4 commits into
feat/balance-gatefrom
refactor/remove-legacy-env

Conversation

@eliteprox

@eliteprox eliteprox commented Jul 11, 2026

Copy link
Copy Markdown

Summary

  • Remove ./legacy-env (and tests); consumers use createEndUserVerifierFromEnv + createBalanceGate.
  • Package version 0.4.0 with exports: ./protocol, ./verifiers, ./balance-gate.
  • Point repository / release docs at pymthouse/clearinghouse (renamed from clearinghouse-runtime).
  • E2E authorize tests for composite exchange + balance gate 483 / expiry capping.

This tip is what pymthouse should depend on after publish (@pymthouse/clearinghouse-identity-webhook@^0.4.0), fixing the finding that published 0.3.3 lacked ./balance-gate.

Test plan

  • cd identity-webhook && npm test
  • After merge: tag v0.4.0, confirm npm trusted publisher is set for pymthouse/clearinghouse + release.yml
  • Bump pymthouse app dep to ^0.4.0

@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 10f14c3f-c55e-41b6-81d5-9fed47cb1977

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch refactor/remove-legacy-env

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@eliteprox eliteprox changed the title refactor(identity-webhook): remove legacy-env, ship 0.5.0 refactor(identity-webhook): remove legacy-env, ship 0.4.0 Jul 11, 2026
Cover handleAuthorize + createOidcVerifier end-to-end: JWT auth, composite
app_<24hex>_<secret> exchange, and live balance-gate 483 / expiry capping.
(legacy-env was never present on the livepeer upstream stack.)
Drop ./legacy-env; ship protocol + verifiers + balance-gate only. Point
repository metadata at pymthouse/clearinghouse for npm provenance.
Next release after 0.3.3; tip already exports balance-gate without legacy-env.
@eliteprox
eliteprox force-pushed the refactor/remove-legacy-env branch from 2e32355 to aeb1d7f Compare July 14, 2026 23:59
@sonarqubecloud

Copy link
Copy Markdown

@eliteprox
eliteprox merged commit 02e1a74 into feat/balance-gate Jul 15, 2026
4 checks passed
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