Skip to content

fix(stovepipe): update docs on new column ordering - #1093

Merged
mnoah1 merged 1 commit into
mainfrom
mnoah1/stovepipe-schema-column-order
Nov 24, 2026
Merged

mnoah1 merged 1 commit into
mainfrom
mnoah1/stovepipe-schema-column-order

Conversation

@mnoah1

@mnoah1 mnoah1 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

PR #965 inserted outcome_reason before the existing metadata column, which differs from the order produced by an append-only migration. Move outcome_reason to the end of request.sql and make the column-order rule explicit in AGENTS.md.

Clarify the MySQL README: consumers derive migrations by comparing deployed and target SQL definitions, without maintaining per-column migration lists.

Test Plan

Verified that request.sql retains the same column definitions and the relative order of all existing columns, with outcome_reason last. Passed make gazelle, make lint (including formatting and SQL shard checks), make check-tidy, make check-gazelle, and git diff --check.

Revert Plan

Revert this PR to remove the documentation and schema-order changes.

Issue Links

None — this follow-up to #965 has no separate ticket.

@mnoah1
mnoah1 added this pull request to stack #1094 November 16, 2026 15:27
@mnoah1
mnoah1 marked this pull request as ready for review November 16, 2026 15:27
@mnoah1
mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners November 16, 2026 15:27
@mnoah1 mnoah1 changed the title fix(stovepipe): append new schema columns consistently fix(stovepipe): update docs on new column ordering Nov 16, 2026
Base automatically changed from sergeyb/sp-oct-001-terminal-reason to main November 23, 2026 15:39
@sbalabanov
sbalabanov force-pushed the mnoah1/stovepipe-schema-column-order branch from 6f2a042 to 006d941 Compare November 23, 2026 15:39
Summary:
PR #965 inserts outcome_reason before the existing metadata column, which differs from the order produced by an append-only migration. Move outcome_reason to the end of request.sql and make the column-order rule explicit in AGENTS.md.

Clarify the MySQL README: consumers derive migrations by comparing deployed and target SQL definitions, without maintaining per-column migration lists. This PR builds on #965.

Test Plan:
Verified that request.sql retains the same column definitions and the relative order of all existing columns, with outcome_reason last. Passed make gazelle, make lint (including formatting and SQL shard checks), make check-tidy, make check-gazelle, and git diff --check.

Revert Plan:
Revert this PR; it changes documentation and schema column order only.
@mnoah1
mnoah1 force-pushed the mnoah1/stovepipe-schema-column-order branch from 006d941 to 897a039 Compare November 24, 2026 21:45
@mnoah1
mnoah1 enabled stacked auto-merge November 24, 2026 21:52
@mnoah1
mnoah1 added this pull request to the merge queue Nov 24, 2026
Merged via the queue into main with commit 479eee6 Nov 24, 2026
21 checks passed
@mnoah1
mnoah1 deleted the mnoah1/stovepipe-schema-column-order branch November 24, 2026 22:10
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.

2 participants