gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2a8682a12a8682a1deploy.sh GATES: tests/warmstart.mjsmre2a8682a1/tools/count-migrated.hl

1.4 KB

  1. // tools/count-migrated.hl — mission 070: how many records keep a migrated value the sync replaced (`migratedSummary`, `migratedTitle`,
  2. // `migratedGenres`, `migratedHomepage`, `migratedTagline`; seasons/episodes `migratedTitle`/`migratedSummary`) + a few examples.
  3. // ONLY on a COPY or the stopped app: TRACKER_STORAGE=$PWD/.scratch/realdata/storage/mpackdb ./bin/hybriel tools/count-migrated.hl
  4. import { showsTable, seasonsTable, episodesTable } from '../lib/shows.hl'
  5. c = { summary = 0 title = 0 genres = 0 homepage = 0 tagline = 0 seasonTitle = 0 seasonSummary = 0 episodeTitle = 0 episodeSummary = 0 }
  6. ex = []
  7. for (s of showsTable.find(null, null)) {
  8. if (s.migratedSummary != null) { c.summary = c.summary + 1 }
  9. if (s.migratedTitle != null) { c.title = c.title + 1 if (ex.length < 8) { ex.push(s.migratedTitle + ' → ' + s.title) } }
  10. if (s.migratedGenres != null) { c.genres = c.genres + 1 }
  11. if (s.migratedHomepage != null) { c.homepage = c.homepage + 1 }
  12. if (s.migratedTagline != null) { c.tagline = c.tagline + 1 }
  13. }
  14. for (s of seasonsTable.find(null, null)) {
  15. if (s.migratedTitle != null) { c.seasonTitle = c.seasonTitle + 1 }
  16. if (s.migratedSummary != null) { c.seasonSummary = c.seasonSummary + 1 }
  17. }
  18. for (e of episodesTable.find(null, null)) {
  19. if (e.migratedTitle != null) { c.episodeTitle = c.episodeTitle + 1 }
  20. if (e.migratedSummary != null) { c.episodeSummary = c.episodeSummary + 1 }
  21. }
  22. console.log('migrated kept: ' + JSON.stringify(c))
  23. for (x of ex) { console.log(' title: ' + x) }

Branches

Latest commits

  • 2a8682a1deploy.sh GATES: tests/warmstart.mjsmre
  • 3761338breports/T17-boot.md: handoff (phase table, fix, numbers so far, open proof)mre
  • 52e09eb2boot: sync window 1000 ms (the gates ask for a complete start), README boot-time sectionmre
  • c87149e8tests/warmstart.mjs: the progressive start proven over HTTP (note in the window, 503 short id, after: everything); bootBeginmre
  • 593a6350boot: resumable start-up scan, the server listens first (T17)mre
  • be4890a0reports: H2 hydration audit (no test change needed)mre
  • 1f9c8bf4re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • c1df88eddocker-compose: HL_GC_TABLE_LOAD=62 (tracker mission 048, T16 real-data numbers)mre
  • d0a82867mission 048: report, LOG (HL_GC_TABLE_LOAD=62 measured)mre
  • 2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre
  • 99e7c8b9tests: realdata-m035-radii, repro-t38, realdata-060-backfill ports from env (REAL_PORT, REAL_CHROME, REPRO_CHROME), defaults unchangedmre
  • 4625aa22re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a6dfd6ecdeploy: person-lookup gate (tracker#46)mre
  • 33ad4bd5Merge commit 'f57f64f'mre
  • 7d38cec4docker-compose: nofile 65536 (default soft 1024 refused boot: errno 24 in fs.listDir, Hybriel 528bc89f)mre
  • f57f64f0mission 046: report, LOGmre
  • 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • efe1b485mission 046: re-vendor Hybriel master 60b2817b (integration 8, #203): plugins mpackdb + web (bin/ git-ignored: hybriel, libhlrt.a, hlc.o, hlrt/ from native/zig-out)mre
  • 53099ffbmission 046: person page reads a slim per-title credit row cache (no whole-record fetch per credit); gate tests/person-lookup.mjsmre
  • 9b3828aemission 046a: report, LOGmre