| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Add ShopifyAPI.log to send one App Event through the Global API using app-level client credentials, without a shop session. - Mint, cache, and refresh the Global API token from the configured api_key and api_secret_key, coalescing concurrent refreshes. - Retry once after a 401 and clear the exact rejected token. - Validate the documented payload limits before any HTTP request. - Pin GLOBAL_API_VERSION instead of following Context.api_version. - Report idempotent replays from the response header value. - Add a configurable HTTPS global_api_url for non-production hosts.
| is_private:, | ||
| is_embedded:, | ||
| global_api_version: DEFAULT_GLOBAL_API_VERSION, | ||
| global_api_url: DEFAULT_GLOBAL_API_URL, |
There was a problem hiding this comment.
advice welcome here
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Adds the Ruby SDK counterpart to shopify-app-js App Events logging:
The request contract uses snake_case JSON, string shop IDs, the 2026-07 API version floor, and both actual and documented idempotent replay headers.
JavaScript reference: Shopify/shopify-app-js#3368
How has this been tested?
bundle exec srb tc cannot run on this Apple Silicon host because the locked sorbet-static binary is x86_64-only: Bad CPU type in executable. CI must provide the typecheck result.
Local Core smoke validation minted tokens, ingested events, and reported idempotent replays for 2026-07, 2026-10, and unstable. The local installation cache was primed because the Query Engine apps.app_installations view is unavailable in this environment.
Checklist: