Remove completed legacy-migration cluster from topdata #45

Merged
archvillainette merged 1 commits from remove-legacy-migration into main 2026-07-19 08:55:25 +00:00
Owner

The legacy normalize migration is done (confirmed). This deletes the dead migration path: NormalizeProject + 26 *_migrate.go files, the importLegacyItempropsRegistry cluster, loadLegacyTLK, and their tests (~7.9k lines, -33 files worth). mergeLegacyTLK moved into tlk_native.go since the live TLK compiler still uses it for base_dialog.json. make check passes.

🤖 Generated with Claude Code

The legacy normalize migration is done (confirmed). This deletes the dead migration path: NormalizeProject + 26 *_migrate.go files, the importLegacyItempropsRegistry cluster, loadLegacyTLK, and their tests (~7.9k lines, -33 files worth). mergeLegacyTLK moved into tlk_native.go since the live TLK compiler still uses it for base_dialog.json. make check passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
archvillainette added 1 commit 2026-07-19 08:03:35 +00:00
topdata: remove completed legacy-migration cluster
build-binaries / build-binaries (pull_request) Successful in 2m4s
test / test (pull_request) Successful in 1m18s
3ab770639c
The one-time legacy normalize migration finished; NormalizeProject had no
production callers. Delete migrate.go, the 26 *_migrate.go files, the
importLegacyItempropsRegistry cluster, loadLegacyTLK, and the 48 test
blocks that only exercised them. mergeLegacyTLK moves to tlk_native.go
because the live TLK compiler still uses it for base_dialog.json.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
archvillainette scheduled this pull request to auto merge when all checks succeed 2026-07-19 08:41:42 +00:00
archvillainette canceled auto merging this pull request when all checks succeed 2026-07-19 08:43:16 +00:00
gitea-bot approved these changes 2026-07-19 08:48:41 +00:00
gitea-bot left a comment
Member

LGTM. Verified the deletion is complete: no remaining references to any removed identifier (NormalizeProject, importLegacy*, loadLegacyTLK, ...), nothing orphaned in cmd/ or docs, and the kept helpers (legacyTLKData, normalizeLegacyTLKEntries, relocated mergeLegacyTLK) are all still called by the live TLK compiler. go build, go vet, and go test ./internal/topdata/ all pass on the branch.

Nit: missing blank line between almostEqualFloat32 and the relocated mergeLegacyTLK in tlk_native.go (~line 729) — cosmetic only.

LGTM. Verified the deletion is complete: no remaining references to any removed identifier (`NormalizeProject`, `importLegacy*`, `loadLegacyTLK`, ...), nothing orphaned in `cmd/` or docs, and the kept helpers (`legacyTLKData`, `normalizeLegacyTLKEntries`, relocated `mergeLegacyTLK`) are all still called by the live TLK compiler. `go build`, `go vet`, and `go test ./internal/topdata/` all pass on the branch. Nit: missing blank line between `almostEqualFloat32` and the relocated `mergeLegacyTLK` in tlk_native.go (~line 729) — cosmetic only.
archvillainette merged commit e509b7a90a into main 2026-07-19 08:55:25 +00:00
archvillainette deleted branch remove-legacy-migration 2026-07-19 08:55:25 +00:00
Sign in to join this conversation.