Skip to content

⚠️ DESTRUCTIVE Tickets: drop the retired single child price columns - #2565

Merged
peterdrier merged 7 commits into
mainfrom
claude/project-thread-hl8b8a
Nov 28, 2026
Merged

peterdrier merged 7 commits into
mainfrom
claude/project-thread-hl8b8a

Conversation

@peterdrier

Copy link
Copy Markdown
Owner

Caution

Destructive migration: drops two columns on ticket_sales_events. Peter merges this by hand.

What goes: ticket_sales_events.ChildPriceMinor and ChildMaxAge, the single child price and age limit per sales event. #2549 replaced them with per-event child ticket types and has merged.

Evidence nothing is in use: pickaxe git log -S 'ChildPriceMinor =' over origin/main shows only the 2027 checkout work (cbc8d82 through #2549). Since #2549 they are unread shadow properties that nothing writes. No ticketing data exists in production; QA holds test rows only.

Approval: Peter, 2026-11-22, in the project chat: "oh.. how much they cost.. yea..", in answer to whether to drop the two old child price columns. Recorded in the NoDestructiveMigrationOps baseline. Closes TICKETS-13.

Down() re-adds both nullable columns, so rollback runs.

Tests: Web (architecture) 855 and Tickets 649 pass locally; build clean.


Generated by Claude Code

Peter approved this drop in the project chat (TICKETS-13).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186neA76aLiKp4n48VeQ4er
@peterdrier peterdrier added db:Destructive Destructive DB change (drops tables/columns, irreversible) Tickets labels Nov 22, 2026
@peterdrier peterdrier self-assigned this Nov 22, 2026
@github-actions github-actions Bot added the db PR includes EF Core migration label Nov 22, 2026
@peterdrier
peterdrier force-pushed the claude/project-thread-hl8b8a branch from c1ad741 to be4c0c8 Compare November 22, 2026 02:03
@github-actions

Copy link
Copy Markdown

Reviewed commit c1ad741 — no issues found.

@github-actions

github-actions Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

PR Surface Report

Compared 27e9f5af...3554dc89. Scored with reforge 0.34.0.

Summary: 5 changed file(s) | EF migrations: 1 added file(s), max 1/1 per context

Reforge Surface Score

metric base head delta
total 76498 76497 -1
surface 17043 17043 0

Section Deltas

section base head delta
Tickets 7755 7754 -1

Section Size & Complexity Deltas

section LOC delta files delta classes delta cognitive p95 delta
Tickets -3 0 0 0
Corpus -3 0 0 0

Corpus is the solution-wide rollup (same source as Corpus Size & Complexity below), not a sum of the section rows above - cognitive p95 in particular doesn't compose across sections.

Rule Deltas

rule base head delta
sectionSize 9537 9536 -1

Corpus Size & Complexity

metric base head delta
locProd 203453 203450 -3

At head: largest class Service, most complex method Service.BookOneTransferAsync.

Published Write Surface

16 of 57 sections publish write capability, 48 interfaces (0).

Interface Surface

No new interfaces or interface members.

Diff Size

bucket added deleted
code 0 3
migrations 43 14
tests 11 0

New Files

  • src/Sections/Humans.Tickets/Data/Migrations/20261122020028_DropRetiredChildPriceColumns.Designer.cs
  • src/Sections/Humans.Tickets/Data/Migrations/20261122020028_DropRetiredChildPriceColumns.cs

EF Migrations (OK)

  • src/Sections/Humans.Tickets/Data/Migrations/20261122020028_DropRetiredChildPriceColumns.cs

@peterdrier

Copy link
Copy Markdown
Owner Author

/review

Re-running review on the final commit be4c0c8; the first run reviewed the stale branch head.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown

Reviewed commit be4c0c8 — no issues found.

@peterdrier

Copy link
Copy Markdown
Owner Author

@codex review


Generated by Claude Code

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T03:10:51.307398Z be4c0c8 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 🚀

Reviewed commit: be4c0c8ce2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown

This PR has a merge conflict with main. Merge origin/main into the branch and resolve the conflicts. The merge-conflict label comes off automatically once it merges cleanly.

…-hl8b8a

# Conflicts:
#	src/Sections/Humans.Tickets/Docs/debt.yml
@github-actions

Copy link
Copy Markdown

This PR has a merge conflict with main. Merge origin/main into the branch and resolve the conflicts. The merge-conflict label comes off automatically once it merges cleanly.

…-hl8b8a

# Conflicts:
#	tests/Humans.Web.Tests/Architecture/Baselines/NoDestructiveMigrationOps.baseline.txt
@github-actions

Copy link
Copy Markdown

This PR has a merge conflict with main. Merge origin/main into the branch and resolve the conflicts. The merge-conflict label comes off automatically once it merges cleanly.

…-hl8b8a

# Conflicts:
#	tests/Humans.Web.Tests/Architecture/Baselines/NoDestructiveMigrationOps.baseline.txt
@github-actions

Copy link
Copy Markdown

This PR has a merge conflict with main. Merge origin/main into the branch and resolve the conflicts. The merge-conflict label comes off automatically once it merges cleanly.

…-hl8b8a

# Conflicts:
#	tests/Humans.Web.Tests/Architecture/Baselines/NoDestructiveMigrationOps.baseline.txt
@github-actions

Copy link
Copy Markdown

This PR has a merge conflict with main. Merge origin/main into the branch and resolve the conflicts. The merge-conflict label comes off automatically once it merges cleanly.

…-hl8b8a

# Conflicts:
#	tests/Humans.Web.Tests/Architecture/Baselines/NoDestructiveMigrationOps.baseline.txt
@peterdrier
peterdrier merged commit 792b648 into main Nov 28, 2026
14 checks passed
peterdrier added a commit that referenced this pull request Nov 28, 2026
…napshot (#2790)

TicketEventPersonalDataErasure (#2672) was generated before
DropRetiredChildPriceColumns (#2565) merged, so its Designer still lists
ChildMaxAge/ChildPriceMinor. Both are merged and applied on QA, so they
stay frozen. This EF-generated no-op on top gives the chain a newest
Designer identical to the snapshot, which the prod promotion check needs.
No schema change; has-pending-model-changes reports none.


Claude-Session: https://claude.ai/code/session_0186neA6Nex6SZVTX9rownkq

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

db:Destructive Destructive DB change (drops tables/columns, irreversible) db PR includes EF Core migration Tickets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants