feat(amazon): unify ranking commands for bestsellers/new-releases/movers-shakers#724
Open
leozejia wants to merge 1 commit intojackwener:mainfrom
Open
feat(amazon): unify ranking commands for bestsellers/new-releases/movers-shakers#724leozejia wants to merge 1 commit intojackwener:mainfrom
leozejia wants to merge 1 commit intojackwener:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary\n- add a shared amazon rankings core and route bestsellers through it\n- add amazon new-releases and amazon movers-shakers commands using the same extraction/normalization pipeline\n- unify ranking schema output across all 3 commands with consistent provenance and category fields\n- add URL/path validation per ranking list and normalize tracking ref segments to canonical ranking URLs\n- add best-effort category_node_id extraction and normalized visible_category_links metadata\n\nTests\n- npm run test:adapter -- src/clis/amazon/shared.test.ts src/clis/amazon/bestsellers.test.ts src/clis/amazon/rankings.test.ts\n- npm run build\n- runtime check: list includes amazon/bestsellers, amazon/new-releases, amazon/movers-shakers and each command returns ranked JSON items