chore: merge main into deploy (importer clamp, upstream-sync, CI cache, route-editor tests) #55
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/wanderer!55
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/sync-main-deploy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Merges
main(0d56e4dc) intodeploy(e72a2cc5). Afterwards main has no commits that deploy lacks. Do not squash or rebase: the merge commit is what keeps the nextmain → deploymerge small.Branch model (inferred from history,
upstream-sync.ymland the cut-over notes)mainand merges into main. A fork-only feature branches offdeploy.mainwhen it should go upstream. Deploy then gets it back on the next sync as an equivalent patch.At the time of this PR, main was 20 commits ahead of deploy: #37 importer clamp, #38 upstream-sync workflow, the
feat/smart-insertionmerge402280d6, the valhalla-store testsf9f8cbf9, and the CI cache0d56e4dc(#46). deploy was 124 ahead of main, which is expected.Conflict resolution
Seven files conflicted: the trail editor
+page.svelte,valhalla_store.svelte.ts,route_insertion{,.test}.ts, and thede/en/frlocales. All of them were resolved to deploy's side:f9668d34: shortest-path insert by default, one undo step per action viarecordUserAction),ba0a249a(loop close near the first anchor) and per-segment routing modes. On every conflicted hunk, main's version is an older state of the same code.append-to-end/insert-at-nearest/insert-modifier-hintare not used on deploy. It usesappend-only-mode/shortest-path-mode/mode-modifier-hint.Everything else merged cleanly and comes in unchanged from main:
.forgejo/workflows/{ci,upstream-sync}.yml,.forgejo/scripts/upstream-sync-dry-run.sh,db/plugins/importer/*, andweb/src/lib/stores/valhalla_store_insert.test.ts.The follow-up commit
66f7511aremovesweb/tests/playwright/e2e/trail/route-insertion.spec.ts, which came in from main. It tests main's UI (append by default, an "Adding to end of route" toggle, Alt/⌘ to insert once). deploy inverted that behaviour, so most of its cases would fail against deploy. The Playwright suite is not part of CI and needs the full stack, so I could not adapt and run it here. Follow-up: port the spec to deploy's semantics.Verification (spl-vm05, on the merge result)
npm run check(svelte-check): 0 errors, 2 warnings. Both are pre-existing a11y warnings on<tbody>in the trail editor.vitest --run: 840 passed, 13 skipped, 72 files. That includes main'svalhalla_store_insert.test.tsrunning against deploy's store, and deploy'svalhalla_undo.test.ts.ReadableStream is already closed, fromsrc/lib/server/trail_analyze.test.ts. That file and everything undersrc/lib/serverare byte-identical to deploy, and all 63 of its tests pass. I ran it on Node 24; CI usesnode:20, so this is probably Node/undici-version noise. CI will show whether it matters.db/changed (importer from #37), so I rangofmt -l,go vet ./plugins/importer/andgo testwithCGO_ENABLED=0, because the VM has no gcc. gofmt and vet are clean.pocketbase/plugins/importerandpocketbase/tests/importerpass. I stopped the full./...run after about 6 minutes because the shared VM's load went above budget, so CI'sgo testis the full check. deploy has no otherdb/changes since the merge base, so the importer is the only Go code that is new to deploy.Not in this PR
f55a19e4local fallback avatars,3d4af5334xx for an unknown trail id,aed6bfbcmap style warning, ande72a2cc5label for/id (all #48). Cherry-pick them onto a branch off main if they should go upstream.🤖 Generated with Claude Code
https://claude.ai/code/session_01XMf4EGfBC9xbQ6rjD6HxgP
Shipped via batch PR #64 (
deploy0d0d85a4), which merged this branch head unchanged; live since 2026-11-05 ~19:30 CET inwanderer-web:deploy-676a7c62(homelab-flux #843). Forgejo does not mark stacked PRs as merged, so I am closing this by hand.🤖 Generated with Claude Code
Pull request closed