Skip to content

fix(db): merge feedback + language alembic heads#7285

Merged
MarkusNeusinger merged 1 commit into
mainfrom
chore/alembic-merge-heads
May 18, 2026
Merged

fix(db): merge feedback + language alembic heads#7285
MarkusNeusinger merged 1 commit into
mainfrom
chore/alembic-merge-heads

Conversation

@MarkusNeusinger
Copy link
Copy Markdown
Owner

Problem

Sync: PostgreSQL has been failing on every push to main since ~17:55 with:

ERROR [alembic.util.messaging] Multiple head revisions are present for given argument 'head'; please specify a specific target revision, '<branchname>@head' to narrow to a specific head, or 'heads' for all heads
FAILED: Multiple head revisions are present...

PRs #7142 (language descriptions) and #7143 (feedback widget) both branched from `3a7e1b5c0c4f` and merged independently, leaving two alembic heads:

  • c5f9a3d72be1 — update_language_descriptions
  • e5b1c9d4a7f2 — feedback_uuid_and_status

No merge revision was added, so alembic upgrade head is ambiguous. Production DB is stuck on whatever was the last successful sync.

Fix

Add a no-op merge revision `7efe9fc8bde1` joining both heads. Verified locally:

  • `alembic heads` → single head `7efe9fc8bde1`
  • `alembic upgrade head --sql` produces a clean transactional plan

Test plan

  • CI green on this PR
  • After merge, Sync: PostgreSQL workflow goes green on the next push to main

🤖 Generated with Claude Code

PRs #7142 and #7143 both branched from 3a7e1b5c0c4f and merged to main
independently, leaving two alembic heads. Sync: PostgreSQL has been
failing on every push to main since ~17:55 with "Multiple head
revisions are present for given argument 'head'".

Add a no-op merge revision (7efe9fc8bde1) joining both heads so
`alembic upgrade head` resolves again.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 18, 2026 21:23
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a no-op Alembic merge revision joining the two heads (c5f9a3d72be1 from the language descriptions branch and e5b1c9d4a7f2 from the feedback widget branch) into a single new head 7efe9fc8bde1, restoring alembic upgrade head resolution and unblocking the Sync: PostgreSQL workflow on main.

Changes:

  • New Alembic merge revision file with empty upgrade/downgrade and down_revision tuple pointing at both prior heads.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@MarkusNeusinger MarkusNeusinger merged commit 8ee8155 into main May 18, 2026
10 checks passed
@MarkusNeusinger MarkusNeusinger deleted the chore/alembic-merge-heads branch May 18, 2026 21:29
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