Skip to content

Send submission and budget events to Quilt #3

Closed

Description

@jaspermayone

Quilt now has a patch API (patchworklabsorg/quilt#8). Krater is the app of the Ganymede patch. Krater must send its submission and budget events to Quilt.

Scope

  • Write events to a transactional outbox (quilt_outbox) in the same transaction as the domain change.
  • Map Krater's domain to the Quilt event types: submission.created, submission.updated, budget.committed, budget.released, spend.recorded.
  • Get a Weave client_credentials token with the quilt scope through krater.weave (feat: let resource servers introspect client_credentials tokens weave#176).
  • Send the outbox in a periodic worker task. Keep the order per submission. Retry with backoff. Show permanent failures to admins.
  • Add a backfill command for existing projects.
  • Document the integration in docs/quilt-integration.md.
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions