channel-worker 2.5.10 → 2.5.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "channel-worker",
3
- "version": "2.5.10",
3
+ "version": "2.5.11",
4
4
  "description": "Channel Manager worker daemon — runs on remote machines to execute video pipeline jobs",
5
5
  "main": "lib/daemon.js",
6
6
  "bin": {
@@ -1319,17 +1319,6 @@ async function run({ page, payload, log }) {
1319
1319
  throw new Error(`FB publish: thumbnail_url provided but the "Chỉnh sửa hình thu nhỏ" overlay was never detected before publish (step ${step + 1}). Refusing to ship without custom thumb. Inspect dump screenshots in Temp\\cm-worker-pw\\.`);
1320
1320
  }
1321
1321
  log('info', `[fb-pw] click publish "${pub.verb}" via "${pub.sel}" (step ${step + 1})`);
1322
- // DRY-RUN MODE (temporary, for QA): skip the actual publish click so
1323
- // we can verify the upstream flow (modal scoping, video upload, thumb
1324
- // step, metadata fill) without spawning real Reels every iteration.
1325
- // Throws a recognisable error so the daemon marks the cmd failed
1326
- // without retrying. REMOVE this block once the page-wall composer
1327
- // fix is verified end-to-end.
1328
- if (process.env.FB_PW_DRY_RUN === '1' || payload._dry_run === true) {
1329
- await dumpInventory(page, log, `dry-run-at-publish-${step + 1}`);
1330
- await dumpFailure(page, `dry-run-at-publish-${step + 1}`, log);
1331
- throw new Error(`[fb-pw] DRY-RUN: reached publish step ${step + 1} successfully. Pub button found via "${pub.sel}" verb="${pub.verb}". Thumb=${customThumbDone ? 'uploaded' : 'NOT uploaded'}. NOT clicking. Inspect dump screenshots in Temp\\cm-worker-pw\\.`);
1332
- }
1333
1322
  // Snapshot the captured-IDs list RIGHT BEFORE the publish click. The
1334
1323
  // network listener captures from EVERY graph response, including the
1335
1324
  // pre-publish page wall feed (~100+ IDs). Only IDs captured AFTER