Adopt Slugkit 0.12.2 follow and contact fixes #30
No reviewers
Labels
No labels
bug
priority:high
status:active
status:inprogress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/erikvancraddock.com!30
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task-c26ddfc5-follow-contact-fixes"
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?
Summary
Adopts Safer follow and contact identity from pinned Slugkit release
47e382cfc1f06060546360aefa36d19e546423a0(template ZIP 0.12.2, API package 1.1.0, compatible management contract 2.3.0).@evcraddock/slug-apito 1.1.0, update only that dependency in the lockfile, synchronize runtime/site metadata and verify the packaged OpenAPI/contract.031_detached_following_history.sql: only inactive history can detach, contact-owned accounts are cleaned up transactionally, active follows and unrelated references remain protected. Preserve following/incoming rows, snapshots, generation semantics, aliases, tombstones, cursor positions and sequence high-water marks. Detached history stays internal; explicit future follow can reattach the same following ID without resurrecting removed copies.scripts/repair-following-account.sql. The repair SQL is exercised only on synthetic fixtures, not used for actual repair. Update the old pre-027 offline rehearsal helper's expected migration/contract and avoid deletion attempts on restored inactive contacts.docs/follow-contact-adoption.md; retain prior rehearsal evidence as historical, not proof of 031 adoption on existing data.Verification
npm run typecheck— passednpm run lint— passednpm run build— passed; unrelated generated CSS drift excludednpm test— 737 passed / 69 files, including local-only federation/integration testsnpm run test:ci— 569 passed / 57 files, excludes*.integration.test.tsnpm run test:browserwith the documentedPLAYWRIGHT_CHROMIUM_EXECUTABLE_PATHoverride to installed Chromium — 40 passedgit diff --check— passedorigin/mainpackage/lock files: advisory findings are identical, with no newly vulnerable packages. No unrelated upgrades oraudit fixperformed.scripts/pre-pr.shor npmformatscript; ran the actual site checks above.Independent read-only review of head
6b145229983bd9fb402d3d6cc74c6d031c61171bfound no blockers or non-waived warnings and independently passed 83 tests across seven targeted files, with a clean diff. The report is posted in PR comments; it does not claim verification of existing databases, deployment or Rott.Remote CI passed for that reviewed head: run #110,
CI / build-lint-test (push), successful in 1m30s. Status verified via API (the CLI status command has a known server-relative-URL parsing incompatibility).Operational boundaries
A local restored-data rehearsal app was found source-watching this checkout and was stopped before editing to prevent automatic startup migration.
evc-rehearsal-app-1remains stopped and must not restart until existing-data migration/startup is separately authorized. Its database was not inspected, migrated, repaired or otherwise modified by this work. The gateway is not an application/worker.All migration/deletion/repair verification used fresh/disposable synthetic databases; no existing backup/production-data rehearsal was performed or claimed. Hosted revision/schema and the reported Armin/Rott duplicate mapping remain unverified. No CLI update, deployment, release tag/image publication, production inspection/migration, actual duplicate repair, real follow/unfollow, Rott cache changes or display-hiding workaround. Later authorized repair must preserve status/content/history, bind the original profile account/contact, keep independent website feeds separate and verify Rott refresh/association. Development completion does not claim those gated operational stages occurred.
Task:
task-c26ddfc5Reviewed PR #30 at
6b145229983bd9fb402d3d6cc74c6d031c61171b.No issues found: no blockers or non-waived warnings.
47e382cfc1f06060546360aefa36d19e546423a0and its stated base.git diff --checkpassed; tracked files remain unchanged.Verification limits: did not independently rerun the full suite, build or browser checks, or verify remote CI. No existing database, backups, deployment, production mapping or Rott behavior was inspected or modified. Those operational checks remain separately authorized and pending.