Files
crawler-plugin/app
koko 325687d532 Stabilize patrol delete automation against delayed Amazon UI
The patrol-delete flow now waits for country and listing-status controls before acting, uses the dedicated PatrolDeleteTask entry point, and includes the browser helper scripts required by the bulk-delete path. Tests cover delayed dropdown readiness, payload rejection/retry behavior, complete-draft normalization, filtered bulk deletion, and asset fallback lookup.

Constraint: Amazon listing UI exposes status controls through dynamic KAT components and delayed option rendering

Rejected: Keep row-by-row delete flow | bulk selection is the current implemented path and is covered by the added helper scripts

Confidence: high

Scope-risk: moderate

Directive: Do not remove the patrol_delete JS helper files without checking app/amazon/patrol_delete.py script loading

Tested: uv run --group dev pytest tests\\test_amazon_base.py tests\\test_patrol_delete.py

Tested: uv run python -m py_compile amazon\\base.py amazon\\main.py blueprints\\main.py

Not-tested: Real Amazon Seller Central browser session
2026-04-28 20:46:50 +08:00
..
2026-04-23 15:25:41 +08:00
2026-04-25 17:58:28 +08:00
2026-04-27 00:23:44 +08:00
2026-03-26 16:42:25 +08:00
2026-04-27 00:23:44 +08:00
2026-04-27 00:23:44 +08:00
2026-03-30 19:44:04 +08:00
2026-04-27 00:23:44 +08:00
2026-04-25 17:14:23 +08:00
2026-04-02 23:29:15 +08:00
2026-04-25 17:14:23 +08:00
2026-04-19 15:38:09 +08:00
2026-04-23 15:25:41 +08:00
2026-04-23 15:25:41 +08:00
2026-03-20 11:23:57 +08:00
2026-03-20 11:23:57 +08:00
2026-03-20 11:23:57 +08:00
2026-04-23 20:48:57 +08:00
2026-04-27 00:23:44 +08:00
2026-04-27 00:23:44 +08:00
2026-04-20 00:41:49 +08:00
2026-04-19 15:38:09 +08:00