ci: add verify + deploy workflows and switch sync check to PlaywrightCheck#2
Merged
Conversation
Switches the skill sync check from MultiStepCheck (which compared two remote raw URLs) to PlaywrightCheck pointed at the repo's playwright.config.ts. The spec now diffs the checked-in skill files against the upstream source resolved from skills.config.ts via buildRawUrl, so the check fails the moment the deployed bundle drifts from upstream. Also groups the check under a new ai-context CheckGroupV2 so future AI-context checks share alerting and tagging.
Runs lint, format check, typecheck, and unit tests so PRs cannot merge red and pushes to main are guarded with the same gate as the local pre-commit hook.
On push to main, re-runs validation as a safety net, executes "npx checkly test --record" against Checkly infra, then deploys with "npx checkly deploy --force". A deploy-checkly concurrency group prevents overlapping deploys from racing the API. Requires CHECKLY_API_KEY and CHECKLY_ACCOUNT_ID secrets in the repo Actions settings.
The project now covers more than skill-sync monitoring (see the new ai-context CheckGroupV2), so the name and logicalId no longer fit. Renames projectName and bumps logicalId to checkly-plugin-and-ai-context so future AI-context checks deploy under the same umbrella. Note: this orphans the old checkly-plugin-skills-monitoring project in the Checkly account on next deploy. Destroy it manually if no longer needed.
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
main— mirrors the local pre-commit hook so it can't be skipped.main, re-runs validation, executesnpx checkly test --record, and thennpx checkly deploy --force. Concurrency groupdeploy-checklyprevents overlapping deploys.MultiStepCheck(comparing two remote raw URLs) toPlaywrightCheckpointed at the repo'splaywright.config.ts. The spec now diffs the checked-in skill files against the upstream source resolved viaskills.config.ts+buildRawUrl, so the check fails the moment the bundled skill drifts from upstream.ai-contextCheckGroupV2so future AI-context checks share alerting/tagging..gitignorenow ignores.envandtest-results/.Required follow-up before merge
CHECKLY_API_KEYandCHECKLY_ACCOUNT_IDto Settings → Secrets and variables → Actions.verifyjob as a required status check onmain.Test plan
verifyworkflow passes on this PRdeployworkflow runsnpx checkly test --recordand thennpx checkly deploy --forcecleanly against the configured accountnpx checkly test, confirm the diff fails the run