eve-troubleshooting
Troubleshoot common Eve deploy and job failures using CLI-first diagnostics.
What this skill does
# Eve Troubleshooting Use CLI-first diagnostics. Do not assume cluster access. ## Quick Triage Checklist ```bash eve system health eve auth status eve job list --phase active ``` ## Common Issues and Fixes ### Auth Fails or "Not authenticated" ```bash eve auth logout eve auth login eve auth status ``` If SSH key is missing, register it with the admin or follow the CLI prompt to fetch from GitHub. ### Secret Missing / Interpolation Error ```bash eve secrets list --project proj_xxx eve secrets set MISSING_KEY "value" --project proj_xxx ``` Verify `.eve/dev-secrets.yaml` exists for local interpolation. ### Deploy Job Failed ```bash eve job follow <job-id> eve job diagnose <job-id> eve job result <job-id> eve env diagnose <project> <env> # structured DeployFailure + cluster snapshot ``` Check for registry auth errors, missing secrets, or healthcheck failures. `eve env diagnose` surfaces a typed `last_deploy_failure` (kind, service, pod, namespace, message) plus the live K8s state. Read the failure `kind` first — the CLI no longer collapses real causes into a bare `HTTP request failed`. Compare the diagnose `manifest_hash` against the latest sync to spot applied-release drift. ### Sentinel Slack Alerts Slack pings from the platform sentinel point at a degraded env. Don't act on the alert text alone — pull the project/env out of it and re-confirm with `eve env diagnose <project> <env>`. If the env reads healthy, the alert was a transient that has self-healed; if not, follow the standard deploy-failure triage above. ### Missing Magic-Link or Invite Email Pre-flight checks usually catch SES misconfig, but if a recipient swears the mail never landed: ```bash eve admin email bounces list --recipient [email protected] --limit 20 eve admin email bounces list --event-type Bounce eve admin email bounces list --event-type Complaint ``` The `email_delivery_events` table is the source of truth — `Bounce` / `Complaint` / `Reject` rows explain silent SES drops. No row at all means the send never happened; re-check `x-eve.branding` reply-to/support emails and the project's `x-eve.auth` policy. ### Magic-Link "Already Used" on First Click Mail-security scanners (Defender SafeLinks, Mimecast, Proofpoint, Barracuda, IronPort) prefetch URLs and burn single-use OTPs. The platform now wraps every action link behind an SSO interstitial that requires an explicit click, so prefetches no longer consume the token. If a user still hits "already used": - The wrap has expired (1h TTL) — have them request a fresh magic link. - They genuinely clicked twice — the second click hits a consumed wrap. - Telemetry: rows with `get_count > 1` in `magic_link_wraps` are expected for protected mailboxes; only `consumed_at` matters. ### Magic-Link or Invite Lands on the Generic SSO Page The redirect allowlist rejected the app's custom-domain origin, so SSO fell back to the cluster landing page. Confirm the project's `x-eve.auth.allowed_redirect_origins` (or its registered `custom_domains` rows) include the app origin — origin only, `scheme://host[:port]`, https unless local. Then re-sync: ```bash eve project sync eve project auth-context <project_id> # shows the resolved allowlist ``` Paths, queries, fragments, and userinfo are rejected at sync time, so a stray `https://app.example.com/callback` in the manifest will surface there. ### `/session` 401 on a Custom-Domain App Browsers strip `SameSite=Lax` cookies on cross-site requests, so a custom-domain app hitting `sso.<cluster>` will see no `eve_sso_rt` and a 401. The SSO broker now sets `SameSite=None; Secure` when `EVE_SSO_SECURE_COOKIES=true`. Verify in the broker logs: ``` [eve-sso] Secure cookies: true (SameSite=none) ``` In the browser devtools, the `eve_sso_rt` cookie on `.<EVE_DEFAULT_DOMAIN>` must show `SameSite=None; Secure; HttpOnly`. If it shows `Lax`, the broker is running in local-http mode — set `EVE_SSO_SECURE_COOKIES=true` and redeploy. Local k3d on `*.lvh.me` keeps `Lax` deliberately (same parent site). ### Domain-Signup Manifest Rejected After Upgrade The v1 shape (`domains: [string]` plus a block-level `target_org`) is no longer accepted as of 2026-05-12 — manifest sync rejects on first sight. Migrate to v2: ```yaml x-eve: auth: org_access: domain_signup: enabled: true domains: - { domain: acme.com, target_org: org_acme, role: member } - { domain: tesco.com, target_org: org_tesco } ``` Each rule must declare its own `target_org`, and each `target_org` must already appear in the project's `allowed_orgs`. Free-email domains (`gmail.com`, `outlook.com`, ...) emit a coherence warning, not a reject — declaring them is almost always wrong. See `references/manifest.md` and `docs/system/auth.md#domain-based-signup` for the full v2 shape. ### Workflow Step Token "Resource Denied" Workflow step jobs now carry a `token_scope` claim derived from workflow- and step-level `scope` blocks (intersected with any API-supplied scope). If a step gets `denied` on an org filesystem path, env DB table, or Cloud FS mount, the scope is the suspect: ```bash eve job show <job-id> --json | jq '.token_scope' ``` Compare the claim against the manifest's workflow/step `scope`. Step scope intersects workflow scope — it can only narrow, never widen. If the step needs a path the workflow forbids, broaden the workflow `scope` (or drop it). Request-supplied `scope` requires the `jobs:harness_override` permission; there is no `--scope-*` CLI flag yet. ### Custom Domain Issues ```bash eve domain verify <hostname> # DNS check + cert state + next steps eve domain status <hostname> # which env owns it eve domain list --env <env> # everything bound to this env ``` Common causes: - **DNS not resolved**: `verify` will print the expected target and `dns_result.verified: false` — fix the CNAME/A record before re-running deploy. - **Cert pending**: cert-manager HTTP-01 challenge in flight; re-run `verify` after a minute. - **First-bind-wins conflict**: another env already claimed the hostname. Use `eve domain transfer <host> --to <env>` and redeploy, or scope the domain per-env via `environments.<env>.overrides`. ### Registry Push Fails with UNAUTHORIZED If build jobs fail with `UNAUTHORIZED: authentication required` when pushing: 1. Verify secrets are set: `eve secrets list --project proj_xxx` 2. If using a custom BYO registry, verify credentials map to `registry.host` 3. Confirm the imagePull metadata in your manifest is correct 4. Add OCI source label to Dockerfile: `LABEL org.opencontainers.image.source="https://github.com/ORG/REPO"` Some registries require repository-linked package metadata or workspace-level auth alignment. ### Build Failures #### Symptoms - Pipeline fails at build step - `eve build diagnose` shows run status = `failed` #### Triage ```bash eve build list --project <id> # Find recent builds eve build diagnose <build_id> # Full state dump eve build logs <build_id> # Raw build output ``` #### Common Causes **Registry authentication:** - If using custom registry mode, verify `REGISTRY_USERNAME` and `REGISTRY_PASSWORD` secrets are set (or provider-equivalent registry credentials). With managed registry (`registry: "eve"`), this step is usually not required. - Ensure credentials can access the configured registry account and namespace - Check: `eve secrets list --project <id>` **Dockerfile issues:** - Service must have `build.context` in manifest pointing to directory with Dockerfile - Dockerfile path defaults to `<context>/Dockerfile` - Multi-stage builds work with BuildKit; may fail with Kaniko **Workspace/clone errors:** - Build requires workspace at the correct git SHA - Check `eve build diagnose` for workspace preparation errors **Image push failures:** - OCI labels help link packages to repos: add `LABEL org.opencontainers.image.source="https://github.com/OWNER/REPO"` to Dockerfile - Ensure registry
Related in Cloud & DevOps
appbuilder-action-scaffolder
IncludedCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add actions to an App Builder project, understand action structure (params, response format, web/raw actions), configure actions in the manifest, use App Builder SDKs (State, Files, Events, database), deploy and invoke actions via CLI, debug action issues, or implement patterns such as webhook receivers, custom event providers, journaling consumers, large payload redirects, action sequence pipelines, and Asset Compute workers. Also trigger when users mention serverless functions in Adobe context, action logging, IMS authentication for actions, or cron-style scheduled actions.
orchestrating-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. Use this skill when the user needs a multi-step Data Cloud pipeline, cross-phase troubleshooting, or data space and data kit management. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase sf data360 workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching phase-specific skill), the task is STDM/session tracing/parquet telemetry (use observing-agentforce), standard CRM SOQL (use querying-soql), or Apex implementation (use generating-apex).
github-project-automation
IncludedAutomate GitHub repository setup with CI/CD workflows, issue templates, Dependabot, and CodeQL security scanning. Includes 12 production-tested workflows and prevents 18 errors: YAML syntax, action pinning, and configuration. Use when: setting up GitHub Actions CI/CD, creating issue/PR templates, enabling Dependabot or CodeQL scanning, deploying to Cloudflare Workers, implementing matrix testing, or troubleshooting YAML indentation, action version pinning, secrets syntax, runner versions, or CodeQL configuration. Keywords: github actions, github workflow, ci/cd, issue templates, pull request templates, dependabot, codeql, security scanning, yaml syntax, github automation, repository setup, workflow templates, github actions matrix, secrets management, branch protection, codeowners, github projects, continuous integration, continuous deployment, workflow syntax error, action version pinning, runner version, github context, yaml indentation error
sf-datacloud
IncludedSalesforce Data Cloud product orchestrator for connect→prepare→harmonize→segment→act workflows. TRIGGER when: user needs a multi-step Data Cloud pipeline, asks to set up or troubleshoot Data Cloud across phases, manages data spaces or data kits, or wants a cross-phase `sf data360` workflow. DO NOT TRIGGER when: work is isolated to a single phase (use the matching sf-datacloud-* skill), the task is STDM/session tracing/parquet telemetry (use sf-ai-agentforce-observability), standard CRM SOQL (use sf-soql), or Apex implementation (use sf-apex).
fabric-cli
IncludedUse this skill for Fabric.so CLI workflows with the `fabric` terminal command: diagnose/install/login, search or browse a Fabric library, save notes/links/files, create folders, ask the Fabric AI assistant, manage tasks/workspaces, generate shell completion, check subscription usage, produce JSON output, and use Fabric as persistent agent memory. Do not use for Microsoft Fabric/Azure/Power BI `fab`, Daniel Miessler's Fabric framework, Python Fabric SSH, Fabric.js, or textile/fashion fabric.
lark
IncludedLark/Feishu CLI skills: lark-cli operations for docs, markdown, sheets, base, calendar, im, mail, task, okr, drive, wiki, slides, whiteboard, apps, approval, attendance, contact, vc, minutes, event. Use when the user needs to operate Lark/Feishu resources via lark-cli, send messages, manage documents, spreadsheets, calendars, tasks, OKRs, deploy web pages, or any Feishu/Lark workspace operations.