Skip to content

test: e2e for sandbox create retry under mutation lock contention #5899

Open

Description

@EmilienM

Title: test: e2e for sandbox create retry under mutation lock contention

User Story

I run multi-replica HA gateways and rely on sandbox create retrying through MUTATION_LOCK_TIMEOUT. The behavior is covered by mock suites today; I want an e2e that exercises it against a real gateway holding a real lock.

Description

An e2e that holds the gateway's sandbox mutation advisory lock (the way the manual validation of #5745 did, by acquiring the lock directly against the gateway's Postgres), then asserts that sandbox create retries and completes once the lock frees, and that --no-create-retry fails fast.

Context

Definition of Done

  • The e2e holds the advisory lock and observes the create retry to success
  • The e2e covers --no-create-retry failing fast
  • It runs in an existing lane without new infrastructure
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

    state:triage-neededOpened without agent diagnostics and needs triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions