Repository navigation
fix(search): expose shop payment readiness independently of stock - #58
Conversation
Runs the platform webhook handler against a migrated database and checks the read-only receipts aggregate for each delivery outcome. Refs: #19
Covers when a platform shop's published products are not_configured, pending, synced or failed, and what plain sync and retries do to rows published before the connection was ready. Refs: #19
The handler matches an event to its order by PayPal order id; whether a receipt naming another capture should end processed is not a requirement. The evidence query already excludes it. Refs: #19
DROP DATABASE waits for a checkpoint; with many parallel workers on a local disk its sync exceeded the default 10 s hook timeout. Only this hook changes. Refs: #19
|
The user has requested completion and a fast-forward integration of this candidate
@ppmarkek Integration is in progress, the original scoped search contract remains unchanged, there is no request to pause unrelated work |
Document the search readiness snapshot and its limits for buyer assistants. Refs: #19
010e52d to
a8530bc
Compare
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Rebased candidate: a8530bc, based on current main
No payment, production SQL or infrastructure configuration was changed |
|
Fast-forward integration completed: main advanced from
Production order diagnosis and uninspected receipts remain separate open evidence, this integration does not close #19 |
|
PR #58 is integrated and deployed: a8530bc, fast-forward from
@ppmarkek The scoped search candidate is now on main and live, the temporary one-writer reservation for catalog.ts and the search contract is finished This closes the readiness integration, not the remaining #19 evidence work: disputed-order diagnosis, production receipts and Catalog findings are separate |
Search results showed stock availability even when the shop could not accept payment. This adds
paymentReadyandpaymentUnavailableReasonusing the same route and sender checks as checkout, so assistants can explain why payment is unavailable before offering itStock availability, ranking, filters, prices and demand tracking retain their existing meaning. Payment and booking tools remain authoritative and recheck readiness before writing
The candidate also includes receipt and Catalog acceptance tests, review-state transition tests, and a cleanup-only timeout for disposable test databases. It does not diagnose the disputed production order or claim verified production webhook receipts
Rebased on
234f6abd92664fbcbdcbf7811e476a98d93df143, preserving the new homepage and seller assistant screens. Only CHANGELOG conflicted, both upstream entries and the readiness entry are retained. The seven implementation and test commits remain patch-identical to the previously reviewed candidateValidation and delivery results are recorded in the latest progress comments. Integration is fast-forward only, without a merge commit
Refs: #5, #19