feat: add health-check and sync-check CI scripts for all commits#110
Draft
Copilot wants to merge 2 commits into
Draft
feat: add health-check and sync-check CI scripts for all commits#110Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
- Add npm scripts: sync:check, health, test:brain to package.json - Add scripts/sync-check.js: verifies Supabase REST API, Edge Functions, and Shopify Storefront API connectivity; CI-safe (exits 0 when creds absent) - Add .github/workflows/ci-all-commits.yml: runs lint+typecheck+sync-check on every push to any branch; runs health-check on main after other jobs pass Co-authored-by: asperpharma <252395498+asperpharma@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add health check and sync check scripts for project
feat: add health-check and sync-check CI scripts for all commits
Mar 5, 2026
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.
No CI ran on non-
mainbranches, and thehealth/sync:check/test:brainnpm scripts were missing despite their backing scripts already existing inscripts/.Changes
package.jsonhealth,test:brain,sync:checkscripts/sync-check.js(new){ shop { name } }GraphQL probeVITE_SHOPIFY_STOREFRONT_TOKENis unset — CI-safeVITE_SHOPIFY_API_VERSIONenv var (defaults2025-07).github/workflows/ci-all-commits.yml(new)lint-and-typecheck— always; runslint+typechecksync-check— always; runsnpm run sync:checkagainst Supabase/Shopify public endpoints (no secrets required)health-check—mainonly, runs after the above two pass; pings the live Lovable deployment vianpm run healthpermissions: contents: readfor least-privilege token scopeWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
qqceibvalkoytafynwoc.supabase.co/home/REDACTED/work/_temp/ghcca-node/node/bin/node node --input-type=module(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.