Skip to content

[RefImpl] Check every implementation's AGT pin against agt.lock, and record the OPA version there #314

Open

Description

@rocklambros

Refs #74. Raised in the PR #256 review.

reference-implementations/README.md (PR #256) says every maintained Guardian evaluates policy with AGT's runtime at the commit in agt/agt.lock. Only the TypeScript tree checks that, and only partly (test/pin.test.ts compares sdk_version with package.json).

Proposed:

  1. Add opa_version to agt/agt.lock.
  2. Each maintained implementation's CI fails when the AGT commit or OPA version it builds against differs from agt/agt.lock.
  3. A change to agt/agt.lock updates every maintained implementation in the same PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:needs-triageNot yet triaged. Applied by the issue formstype:refimplReference implementation or adapter workworkstream:refimplOwning workstream. Maintainers only

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions