close
Skip to content

feat(spanner): add migration 000036.sql for CodeSubscriptionDeliveries - #2761

Open
jcscottiii wants to merge 1 commit into
feature/code-subs-02-schema-subscriptionsfrom
feature/code-subs-02b-schema-deliveries
Open

feat(spanner): add migration 000036.sql for CodeSubscriptionDeliveries#2761
jcscottiii wants to merge 1 commit into
feature/code-subs-02-schema-subscriptionsfrom
feature/code-subs-02b-schema-deliveries

Conversation

@jcscottiii

@jcscottiii jcscottiii commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Refs #2712, #2714

Adds Spanner migration 000036.sql and Go models for delivery attempt tracking and worker locks.

  • infra/storage/spanner/migrations/000036.sql: CodeSubscriptionDeliveries table (foreign key cascade to CodeSubscriptions).
  • lib/gcpspanner/code_subscription_delivery.go: Models and GetCodeSubscriptionDelivery reader.
  • lib/gcpspanner/code_subscription_delivery_test.go: Unit and emulator integration tests.

@jcscottiii
jcscottiii force-pushed the feature/code-subs-02-schema-subscriptions branch from 54cf68a to 30b46fb Compare August 19, 2026 00:13
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02b-schema-deliveries branch 3 times, most recently from 7a69397 to f8214a6 Compare August 19, 2026 00:32
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02-schema-subscriptions branch from 30b46fb to cdd86d9 Compare August 19, 2026 00:36
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02b-schema-deliveries branch 2 times, most recently from a6384ec to 84bb41a Compare August 19, 2026 01:04
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02-schema-subscriptions branch from cdd86d9 to 208529c Compare August 19, 2026 02:02
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02b-schema-deliveries branch from 84bb41a to cc82dc3 Compare August 19, 2026 02:02
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02-schema-subscriptions branch from 208529c to 4d9920c Compare August 19, 2026 02:11
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02b-schema-deliveries branch from cc82dc3 to 380ec89 Compare August 19, 2026 02:11
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02-schema-subscriptions branch 3 times, most recently from 810ecc8 to e48cd80 Compare August 19, 2026 17:16
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02b-schema-deliveries branch from 380ec89 to 5de4484 Compare August 19, 2026 17:51
- Create CodeSubscriptionDeliveries table in migration 000036.sql
- Implement CodeSubscriptionDelivery model and Spanner mappers
- Add struct conversion, mapper, and Spanner emulator unit tests

TAG=agy
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02b-schema-deliveries branch from 5de4484 to fc4e7b4 Compare August 19, 2026 21:33
@jcscottiii
jcscottiii force-pushed the feature/code-subs-02-schema-subscriptions branch from e48cd80 to b12f82f Compare August 19, 2026 21:33
@jcscottiii
jcscottiii marked this pull request as ready for review August 19, 2026 21:36
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