Repository navigation
feat(database): add JobStatements and jobs schema - #3340
adlerhurst wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
🦋 Changeset detectedLatest commit: 7b82aed The changes in this PR will be included in the next version bump. This PR includes changesets to release 27 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
4fcdbdc to
b43b4bb
Compare
b43b4bb to
e1f4b0d
Compare
e1f4b0d to
d24dc13
Compare
d24dc13 to
aae06a4
Compare
fforootd
left a comment
There was a problem hiding this comment.
Two findings inline: the migration numbers collide with main, and the periodic reschedule drifts. Stack overview on #3335.
Generated by Claude Code
7b82aed to
d2d216a
Compare
jobs + job_schedules across dialects, SetPeriodic/Take allowlist, stmttest, changeset; CTE RETURNING columns qualified for Postgres. Co-authored-by: s2s4gq4jby <s2s4gq4jby@privaterelay.appleid.com> Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
sqlite 055, postgres 068, spanner 073. Regenerate AllStatements mock so SetAuthRequestCode and SetPeriodic both remain. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
d2d216a to
d165db2
Compare
Renumbered jobs migrations leave jobs already applied under an older goose version; CREATE TABLE then fails with SQLSTATE 42P07. Treat that like duplicate_column so preview migrate drops and remigrates once. Co-authored-by: Silvan <adlerhurst@users.noreply.github.com>
TL;DR
3 of 6 (bases on #3338). Storage layer for ADR 065:
jobs+job_schedules,JobStatementsonAllStatements, dialect migrations, stmttest.Reviewer map
apps/api/internal/storage/dialect/*/jobs.gosqlite 055/postgres 068/spanner 073apps/api/internal/service/statement.go(JobStatements)service.mock.goapps/api/internal/storage/stmttest/jobs_test.goReview follow-ups
main(recheck before merge if main lands more).run_at = now()+periodas ADR says.Stack
#3335 → #3338 ← this → #3341 → #3342 → #3343.