What does Guard run?
Guard runs configured scenarios in CI, after deployment, or on a schedule. A scenario can follow a browser journey and check the resulting application state; supported Clones can provide isolated payment, email, identity, SMS, or storage behavior where the workflow needs it.
What is a scenario?
A .molar.md file in .molar/scenarios/ with a short YAML header (its name and the clones it uses) and plain-English steps and checks. Molar compiles it into a Playwright test.
Does an AI agent decide pass or fail in CI?
No. Guard runs Playwright tests: ones compiled from your scenarios, or your existing Playwright specs through the GitHub App or the CLI. AI only helps after a failure: Guard can suggest a fix for a broken locator, and Mender, when you turn it on, can propose a code fix.
How does Guard handle flaky runs?
A failing check fails the run. Guard doesn’t retry automatically or mark a later pass as flaky yet. If Mender is on, it reruns a failure three times and reports a flake instead of a bug when most reruns pass.
How does Guard choose tests?
Where dependency mapping is configured, Guard selects scenarios connected to changed files and directly edited .molar.md scenarios. Broad selections and large unmapped changes can trigger full-suite fallback. A small unmapped change can select nothing, so inspect the reason and choose an explicit test set where coverage is missing.
What do I need before adding the CI job?
Install and authenticate the CLI, connect the repository and target environment, define the scenario and its assertions, and prepare dedicated test credentials or Clones. Keep secrets in your CI secret store and make the selected GitHub job required in repository settings.
Can Guard check a preview or production URL?
Yes, for an authorized workflow. Use the preview URL for a release check and a scheduled, permission-scoped target for production monitoring. Use dedicated test accounts for production checks so they never touch real customer data.
What does a failed run show?
The result keeps the scenario and run identity with the failed assertion and available browser steps, screenshots, artifacts, and Trace reference. Check whether the failure is an application assertion, missing access, or environment setup issue before rerunning.
Does Guard replace Playwright?
No. Guard can complement an existing Playwright suite. Evaluate the configured scenario, environment setup, evidence, and maintenance work on a flow that matters to your team.
Does a cached result mean the browser ran again?
No. A cached result reuses an earlier pass because nothing the test depends on changed. It doesn’t run the browser again or prove that a remote environment stayed the same, so Guard labels it “cached.”
Does a change with no mapped dependency run every scenario?
Only a large one. Guard runs every scenario when more than 50 are affected, or when an unmapped change touches more than 10 files or 500 lines. A smaller unmapped change can select nothing, so review coverage and run the relevant tests yourself.
Can I monitor from multiple regions?
Not yet. During the beta, scheduled runs come from Molar’s hosted browser in Azure Central India. This page’s history illustrates a single target; it is not a live monitoring report.
Do Clones prevent all production side effects?
Clones isolate supported vendor operations when your app is configured to call them. They do not automatically intercept every outgoing request or isolate your production database. Use dedicated test identities, scoped data, configured endpoints and a validated safety setup.
Will Mender merge or deploy a fix?
No. Mender is a preview workflow that prepares a proposed repair for review. A human reviews the diff and repository policy remains in control of approval, merge, and deployment.