You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area: app platformApp registry, install flow, permissions, extension surfaces, connector runtime contractsarea: ecommerceWooCommerce, Shopify, Magento, osCommerce, marketplaces, and online order syncarea: integrationsExternal services, optional connectors, import/export contractscommunity editionMust work in the free local/community edition without requiring Posnic CloudenhancementNew feature or requesthelp wantedExtra attention is neededsize: mediumMedium task that may need a small design or multiple tests
I traced the retry semantics before opening a PR and wanted to confirm one detail in the acceptance criteria.
If attempt is the transient network retry counter, including it directly in the idempotency key would make retries produce different identities (attempt=1, attempt=2, etc.), which would defeat deduplication.
My proposed contract is:
logical identity: provider + store + external order id + explicit order/version
retry attempt: telemetry only, does not change the idempotency key
identical payload retry: same key/hash, return existing sale
same logical identity with mutated payload: explicit conflict/manual-review result
intentional external-order revision: bump explicit version
Does that match the intended meaning of attempt here, or was attempt intended to represent the logical order version rather than the transport retry count?
I have a synthetic-fixture implementation/tests prepared locally, but I want to confirm this semantic before opening the PR.
Yes — your proposed contract is the intended one. In this issue, \�ttempt\ means the logical external-order revision/version, never the transient transport retry counter. Keep retries telemetry-only; use the same key for an identical retry, return an explicit conflict/manual-review result for a changed payload under the same logical identity, and increment the explicit version only for an intentional external-order revision. Please name the helper parameter \�ersion\ (or document \�ttempt\ as that version) so the distinction is clear, and include the synthetic fixtures you described.
area: app platformApp registry, install flow, permissions, extension surfaces, connector runtime contractsarea: ecommerceWooCommerce, Shopify, Magento, osCommerce, marketplaces, and online order syncarea: integrationsExternal services, optional connectors, import/export contractscommunity editionMust work in the free local/community edition without requiring Posnic CloudenhancementNew feature or requesthelp wantedExtra attention is neededsize: mediumMedium task that may need a small design or multiple tests
Activity
Tyagiquamar commentedon Sep 4, 2026
I traced the retry semantics before opening a PR and wanted to confirm one detail in the acceptance criteria.
If attempt is the transient network retry counter, including it directly in the idempotency key would make retries produce different identities (attempt=1, attempt=2, etc.), which would defeat deduplication.
My proposed contract is:
Does that match the intended meaning of attempt here, or was attempt intended to represent the logical order version rather than the transport retry count?
I have a synthetic-fixture implementation/tests prepared locally, but I want to confirm this semantic before opening the PR.
sridharkalaibala commentedon Sep 4, 2026
Yes — your proposed contract is the intended one. In this issue, \�ttempt\ means the logical external-order revision/version, never the transient transport retry counter. Keep retries telemetry-only; use the same key for an identical retry, return an explicit conflict/manual-review result for a changed payload under the same logical identity, and increment the explicit version only for an intentional external-order revision. Please name the helper parameter \�ersion\ (or document \�ttempt\ as that version) so the distinction is clear, and include the synthetic fixtures you described.
Merge pull request #483 from Tyagiquamar/sdk/external-sale-idempotency
develop to main (#538)