Skip to content

fix(fork): merge upstream 78ee8a1 into patch/event-history-retention - #258

Merged
fireboltdude1357 merged 1452 commits into
patch/event-history-retentionfrom
fix/event-history-retention-upstream-78ee8a1
Nov 12, 2026
Merged

fireboltdude1357 merged 1452 commits into
patch/event-history-retentionfrom
fix/event-history-retention-upstream-78ee8a1

Conversation

@fireboltdude1357

Copy link
Copy Markdown
Owner

The fork's nightly build fails because patch/event-history-retention conflicts with upstream 78ee8a1 in apps/server/src/persistence/Migrations.ts.

Upstream pingdotgg#35486 now declares sql near the top of runMigrations, where the patch's side of the hunk also declared it. I kept upstream's runner and put the patch's guard back in its old spot, after the migration loop and before the history check. The guard is CREATE TABLE IF NOT EXISTS orchestration_v2_event_retention, and it still runs only on full runs, when toMigrationInclusive is undefined. It runs on whichever connection applies migrations, including upstream's new migration worker. Every production caller does a full run, and prunedThroughSequence only reads the table after migration setup finishes. Upstream never creates or drops this table.

On a scratch stack of upstream 78ee8a1 with all 26 patches and the three fix branches for this upstream, pnpm install --no-frozen-lockfile, vp run typecheck, and vp test run on the test files the patches touch plus persistence/Sqlite.test.ts and Migrations.test.ts all pass (51 files, 1377 tests).

Made by Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

juliusmarminge and others added 30 commits November 11, 2026 20:06
Co-authored-by: Cursor <cursoragent@cursor.com>
…gdotgg#33124)

Co-authored-by: maria-rcks <254055478+maria-rcks@users.noreply.github.com>
…iled X (pingdotgg#34734)

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Yash Singh <saiansh2525@gmail.com>
…hread that sent them (pingdotgg#34721)

Co-authored-by: Happy Campr <happycampr@Locals-MacBook-Pro.local>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…otgg#34773)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…gdotgg#34797)

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
juliusmarminge and others added 29 commits November 12, 2026 10:16
… an agent started (pingdotgg#35405)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…f can be added (pingdotgg#35492)

Co-authored-by: ixmxvii-hash <235766220+ixmxvii-hash@users.noreply.github.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…8ee8a1

# Conflicts:
#	apps/server/src/persistence/Migrations.ts
@fireboltdude1357
fireboltdude1357 merged commit 4cac1ef into patch/event-history-retention Nov 12, 2026
4 checks passed
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.