Add A8 Synthetic Canary monitoring system for dashboard health checks#13
Draft
Add A8 Synthetic Canary monitoring system for dashboard health checks#13
Conversation
Co-authored-by: DeepExtrema <175066046+DeepExtrema@users.noreply.github.com>
Co-authored-by: DeepExtrema <175066046+DeepExtrema@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add synthetic canary tests for login view and logout
Add A8 Synthetic Canary monitoring system for dashboard health checks
Oct 13, 2025
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.
Overview
This PR implements a comprehensive synthetic monitoring system (A8 Synthetic Canary) for the Sherlock Multi-Agent Data Scientist dashboard. The system runs automated end-to-end tests every 6 hours to continuously verify dashboard health and functionality.
What's New
Automated Monitoring Tests
Created a read-only Playwright test suite that verifies critical dashboard functionality without mutating production data:
All tests are read-only and use a dedicated test tenant (
synthetic-canary-test) to ensure production data is never affected.CRON-Scheduled GitHub Actions Workflow
The workflow runs automatically every 6 hours (00:00, 06:00, 12:00, 18:00 UTC) and:
Manual triggering is also supported via
workflow_dispatchfor testing and validation.Comprehensive Documentation
Integration Guide (
/reports/synthetic-integration.md)Provides complete setup instructions including:
Quick Start Guide (
/synthetic/README.md)Developer-focused documentation covering:
Technical Details
Dependencies Added
@playwright/test@^1.48.0- End-to-end testing framework@types/node@^20.10.0- TypeScript type definitionstypescript@^5.3.3- TypeScript compilerNPM Scripts
npm run test:synthetic- Run tests headlessnpm run test:synthetic:ui- Run with interactive UI debuggernpm run test:synthetic:headed- Run in headed browser modenpm run playwright:install- Install Chromium browserTest Configuration
Playwright is configured to:
synthetic/checksdirectorySecurity & Safety
Testing
All components have been validated:
Usage
After merging, users should:
SLACK_WEBHOOK_URLsecret in repository settings (optional)WEBHOOK_URLsecret for custom integrations (optional)npx playwright show-trace trace.zipThe synthetic canary will begin running automatically on the configured schedule, providing continuous monitoring of dashboard health and early detection of issues.
Files Changed
Total: ~1,100 lines of code and documentation
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.