thread-master/apps/backend/internal
王性驊 d1e876629a prod: bundle threads-profile scrape release, fix headless-shell install, add reset-data tooling
- release layout now ships scripts/threads-profile/scrape.mjs + node_modules;
  activate-release.sh verifies it exists before activating a release
- profile_scrape.go resolves the script path relative to the release dir
  (bin/{gateway,worker} -> ../scripts/threads-profile/scrape.mjs) in prod,
  falling back to the dev-tree relative paths for local runs
- bootstrap.sh: Playwright 1.49+ needs a separate chromium-headless-shell
  build for headless launches; the idempotency check only looked for
  chromium-*, so a stalled/partial headless-shell download from an earlier
  run was never retried. Now checks and installs both builds.
- add reset-data.sh (local wrapper + remote script) to wipe Mongo/Redis/MinIO
  and reseed the admin account for a clean-slate redeploy

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 16:26:30 +00:00
..
config fix frontend 2026-07-15 15:23:59 +00:00
domain fix frontend 2026-07-10 12:54:45 +00:00
handler fix frontend 2026-07-15 15:23:59 +00:00
lib fix frontend 2026-07-15 15:23:59 +00:00
logic fix frontend 2026-07-15 15:23:59 +00:00
middleware fix frontend 2026-07-15 15:23:59 +00:00
module prod: bundle threads-profile scrape release, fix headless-shell install, add reset-data tooling 2026-07-17 16:26:30 +00:00
response fix frontend 2026-07-15 15:23:59 +00:00
svc fix frontend 2026-07-15 15:23:59 +00:00
testkit fix frontend 2026-07-10 12:54:45 +00:00
types fix frontend 2026-07-15 15:23:59 +00:00