@1aboveio/skills 1.0.36 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codex-plugin/plugin.json +1 -1
- package/.codex-plugin/resources.json +146 -144
- package/package.json +4 -4
- package/skills/app-dev/airflow/SKILL.md +1 -1
- package/skills/app-dev/android-development/SKILL.md +1 -1
- package/skills/app-dev/app-debug/SKILL.md +1 -1
- package/skills/app-dev/better-auth/SKILL.md +1 -1
- package/skills/app-dev/data-catalog/SKILL.md +1 -1
- package/skills/app-dev/data-quality/SKILL.md +1 -1
- package/skills/app-dev/ios-foundation/SKILL.md +1 -1
- package/skills/app-dev/maestro/SKILL.md +1 -1
- package/skills/app-dev/monorepo/SKILL.md +1 -1
- package/skills/app-dev/nextjs-fullstack/SKILL.md +1 -1
- package/skills/app-dev/prisma-setup/SKILL.md +1 -1
- package/skills/app-dev/pyspark/SKILL.md +1 -1
- package/skills/app-dev/python-backend/SKILL.md +1 -1
- package/skills/app-dev/shadcn/SKILL.md +1 -1
- package/skills/app-dev/zod-v4/SKILL.md +1 -1
- package/skills/cicd/cloud-build/SKILL.md +1 -1
- package/skills/cicd/cloud-debug/SKILL.md +1 -1
- package/skills/cicd/cloud-deploy/SKILL.md +1 -1
- package/skills/cicd/docker/SKILL.md +1 -1
- package/skills/cicd/github-actions/SKILL.md +5 -3
- package/skills/cicd/github-actions/references/audit-and-cleanup.md +66 -19
- package/skills/cicd/github-actions/references/conditional-retries.md +57 -0
- package/skills/cicd/github-actions/references/runners.md +6 -4
- package/skills/cicd/github-actions/references/speed-and-audit.md +21 -2
- package/skills/cicd/github-actions/references/two-pass-reading.md +3 -1
- package/skills/cicd/github-flow/SKILL.md +1 -1
- package/skills/cicd/google-cloud/SKILL.md +1 -1
- package/skills/cicd/mergify/SKILL.md +3 -2
- package/skills/cicd/mergify/references/ci-retries.md +64 -0
- package/skills/cicd/mergify/references/configuration.md +8 -11
- package/skills/cicd/podman/SKILL.md +1 -1
- package/skills/content/article-review/SKILL.md +1 -1
- package/skills/content/article-to-image/SKILL.md +1 -1
- package/skills/content/flowchart-svg/SKILL.md +1 -1
- package/skills/content/image-gen/SKILL.md +1 -1
- package/skills/content/mermaid/SKILL.md +1 -1
- package/skills/content/wechat-article-writer/SKILL.md +1 -1
- package/skills/content/wechat-publisher/SKILL.md +1 -1
- package/skills/content/wechat-search/SKILL.md +1 -1
- package/skills/content/xai-search/SKILL.md +1 -1
- package/skills/core/distill-writing/SKILL.md +1 -1
- package/skills/core/doc-to-md/SKILL.md +1 -1
- package/skills/core/editorial-review/SKILL.md +1 -1
- package/skills/core/house-style/SKILL.md +1 -1
- package/skills/core/plain-language/SKILL.md +1 -1
- package/skills/core/polish-cn/SKILL.md +1 -1
- package/skills/core/reg-parser/SKILL.md +1 -1
- package/skills/core/terminology/SKILL.md +1 -1
- package/skills/core/write-doc/SKILL.md +1 -1
- package/skills/core/write-report/SKILL.md +1 -1
- package/skills/engineering/acceptance-design/SKILL.md +1 -1
- package/skills/engineering/better-review/SKILL.md +1 -1
- package/skills/engineering/e2e-test/SKILL.md +1 -1
- package/skills/engineering/engineering/SKILL.md +1 -1
- package/skills/engineering/engineering-runtime/SKILL.md +1 -1
- package/skills/engineering/engineering-runtime/coherence/workflow.json +14 -14
- package/skills/engineering/ensure-coverage/SKILL.md +1 -1
- package/skills/engineering/golden-path/SKILL.md +1 -1
- package/skills/engineering/harness-runtime/SKILL.md +1 -1
- package/skills/engineering/resolve-issues/SKILL.md +2 -2
- package/skills/engineering/resolve-issues/references/done.md +17 -6
- package/skills/engineering/resolve-issues/references/expire.md +1 -1
- package/skills/engineering/resolve-issues/references/preflight.md +1 -1
- package/skills/engineering/resolve-issues/references/task-plan.md +6 -2
- package/skills/engineering/resolve-issues/scripts/next-actions.mjs +42 -12
- package/skills/engineering/resolve-release/SKILL.md +1 -1
- package/skills/engineering/rush-issues/SKILL.md +3 -3
- package/skills/engineering/rush-release/SKILL.md +1 -1
- package/skills/engineering/test-quality/SKILL.md +1 -1
- package/skills/risk-compliance/compliance-audit/SKILL.md +1 -1
- package/skills/risk-compliance/contract-compare/SKILL.md +1 -1
- package/skills/risk-compliance/contract-review/SKILL.md +1 -1
- package/skills/risk-compliance/doc-authenticity/SKILL.md +1 -1
- package/skills/risk-compliance/fraud-detection/SKILL.md +1 -1
- package/skills/risk-compliance/payment-analysis/SKILL.md +1 -1
- package/skills/risk-compliance/portfolio-payment-analysis/SKILL.md +1 -1
- package/skills/risk-compliance/rfi-writing/SKILL.md +1 -1
- package/skills/risk-compliance/similar-domain/SKILL.md +1 -1
- package/skills/risk-compliance/tld-detection/SKILL.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1aboveio/skills",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.38",
|
|
4
4
|
"description": "Every 1aboveio skill package in one: install once, then choose which packages Pi loads with npx @1aboveio/skills select.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"nativeCodex": {
|
|
29
29
|
"schemaVersion": 1,
|
|
30
30
|
"metadataPath": ".codex-plugin/resources.json",
|
|
31
|
-
"metadataDigest": "
|
|
32
|
-
"releaseIdentity": "
|
|
31
|
+
"metadataDigest": "bb85c5c68ec0baa648ac6bbce84002feec90a2f01a4acee20261e68eb85bee42",
|
|
32
|
+
"releaseIdentity": "2a9cda7acb2b8ecbb48678371e2631f04241e723e1f755652892684b65f7fde6"
|
|
33
33
|
},
|
|
34
34
|
"pi": {
|
|
35
35
|
"skills": [
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
]
|
|
264
264
|
}
|
|
265
265
|
],
|
|
266
|
-
"digest": "
|
|
266
|
+
"digest": "c3f56544413d29d162356e425805b7e1aa7541c4697269cdb5dfe6b1894e6eb5"
|
|
267
267
|
},
|
|
268
268
|
"publishConfig": {
|
|
269
269
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: airflow
|
|
3
3
|
description: Airflow DAG architecture and conventions. Use when designing, writing, reviewing, testing, or debugging Airflow DAGs and tasks, including TaskGroups, data intervals, timezone-aware date parameters, CLI validation, environment-based scheduling, and pytest integrity tests.
|
|
4
4
|
user-invocable: true
|
|
5
|
-
release-version: 0.50.
|
|
5
|
+
release-version: 0.50.18
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# Airflow DAG Development Patterns
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: android-development
|
|
3
3
|
description: "Prove and debug Expo / React Native apps on an owned Android emulator. Use for Android startup/rendering failures, Metro or ADB problems, native harness failures, APK builds, SDK/NDK/JDK workspace setup, native journey validation, and choosing Kotlin/Compose versus React Native for Android flows. Reproduce failed Android CI checkpoints off CI before fixing and redispatching. Standalone invocation offers Project or Session; init persists repo conventions. Maestro journey authoring, UI-driver migration and flow diagnosis belong to maestro. NOT for workflow YAML, CI speed or runners (github-actions), browser tests (e2e-test), iOS (ios-foundation), plain Jest tests, or signing/store release."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Android development
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: app-debug
|
|
3
3
|
description: "Diagnose runtime failures in deployed Cloud Run services — 5xx/422 errors, tracebacks, Next.js SSR/hydration or Server Action failures, DB/Secret Manager connection errors, cold-start timeouts, container OOM. NOT for build or deploy failures (cloud-debug)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# App Debug
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: better-auth
|
|
3
3
|
description: "Add or debug Better Auth for Next.js App Router: login, sessions, protected routes, middleware, OAuth (including Feishu/Lark), cookies, Prisma, and Auth.js migration."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Better Auth for Next.js
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: data-catalog
|
|
3
3
|
description: "Column definitions for warehouse tables, written inside the Spark/PySpark or SQL script that builds each table (CATALOG_TABLE / CATALOG_FIELDS, or a `-- @field` comment block), with a generated markdown catalog in docs/catalog/ and a CI check that fails a PR whose catalog is stale. Use when writing or changing a table script that adds, renames, removes, or changes the meaning of an output column or feature; when asked what a warehouse column or feature means; to set a repo up ('init the data catalog', 'generate the data dictionary', '字段字典', 'add catalog CI'); or to audit existing SQL or Spark scripts for undocumented columns. NOT for implementing or tuning the Spark job itself (pyspark), DAG wiring (airflow), or general workflow YAML (github-actions)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Data catalog
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: data-quality
|
|
3
3
|
description: "Check a published warehouse table's data against its data-catalog definitions with read-only SELECTs: columns never filled or stuck at one value, counts below zero, ratios outside 0–1, declared values that never appear and undeclared values that do. Then classify each finding as a wrong definition, wrong code, or wrong data. Use when asked whether a table's data is right, to profile or sanity-check a dwd/ads table, to find dead or constant columns, to check a column's values against its documented list, after a pipeline change ships, or when a data-catalog definition and the data might disagree. NOT for validating a Spark change before it ships (pyspark canary and reconciliation), writing definitions (data-catalog), or monitoring dashboards."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Data quality
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ios-foundation
|
|
3
3
|
description: "Set up and prove an Expo / React Native native iOS workspace from an assigned or fresh isolated workspace to a manual Login smoke on an owned iOS Simulator: isolated workspace and private caches, Xcode/runtime/CocoaPods preflight, frozen install with `pod install --deployment`, platform-scoped prebuild, an ad-hoc-signed Debug simulator build, a private simulator by exact UDID, Metro on a free port, a disposable PostgreSQL backend with owned cleanup, and the evidence record (setup proof only; feature work reports the smoke result). Use for 'set up iOS', 'build the iOS app', 'run the app on the iOS simulator', 'add iOS to the React Native app', 'prove the iOS build', or when a pod install, xcodebuild, simulator boot, Metro connection or Keychain session fails. NOT for Android (android-development), signing, TestFlight or App Store release, or general workflow YAML (github-actions)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# iOS foundation
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: maestro
|
|
3
3
|
description: "Design, run, debug and migrate mobile E2E journeys with Maestro: complete flows and subflows, selectors, parameters, exclusive UI-driver ownership, non-UI authentication/backend helpers and failure evidence. Use for Maestro YAML/CLI/MCP work, slow fragmented mobile journeys, UiAutomation driver collisions, or replacing a hybrid Python/uiautomator2 UI harness. Android-first; use platform-neutral flow guidance for iOS only with its verified device/runtime contract. NOT for Android provisioning/builds (android-development), iOS setup (ios-foundation), browser Playwright tests (e2e-test), or CI workflow YAML (github-actions)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Maestro
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: monorepo
|
|
3
3
|
description: Turborepo architecture for shared packages, pnpm workspaces, DAL boundaries, and pipelines.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Turborepo Monorepo Architecture
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: nextjs-fullstack
|
|
3
3
|
description: "Build or debug Next.js App Router features with React 19 — pages/layouts/route handlers, Server/Client Components, Server Actions, forms, middleware, DAL, strict TypeScript, Zod — plus our conventions: nuqs URL state, SWR cache, Skeleton/Progress + Sonner feedback, drag-and-drop upload, the portal app shell, list pages as filter/sort/paginate tables. shadcn component mechanics: see the shadcn skill."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Next.js 16 Fullstack Development
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: prisma-setup
|
|
3
3
|
description: Use when adding or debugging Prisma with PostgreSQL, Next.js, or Turborepo, including schema.prisma, prisma.config.ts, client generation, migrations, seeds, relations, adapters, and DAL/database-layer setup. Triggers on phrases like "Prisma schema", "prisma migrate", "schema.prisma", "seed the database", "PrismaClient error", "relation issue", or "database layer".
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Prisma v7 Setup Guide
|
|
@@ -12,7 +12,7 @@ description: >
|
|
|
12
12
|
Connect, spark-submit, Hudi commits, backfills, validate-only canaries,
|
|
13
13
|
cluster reconciliation, or Spark event-log profiling — including warehouse
|
|
14
14
|
job timeouts, empty Hudi writes, or EMR/Dataproc performance regressions.
|
|
15
|
-
release-version: 0.50.
|
|
15
|
+
release-version: 0.50.18
|
|
16
16
|
---
|
|
17
17
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
18
18
|
# PySpark
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: python-backend
|
|
3
3
|
description: "Python backend architecture for FastAPI, Tortoise ORM, Pydantic Settings, loguru, and uv. Also: uv.lock installs in CI/Docker via a proxy or mirror (`uv sync --frozen` bypasses it), slow uv installs on runners, relocking"
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Python Backend Conventions
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: shadcn
|
|
3
3
|
description: "Add or debug shadcn/ui in a React/Next.js project: components.json, shadcn init/add, presets, registries, Tailwind styling, base/radix/aria composition, component fixes, and list-index pages — where the default is the DiceUI data table with filter/sort/pagination in the URL via nuqs, not a bare shadcn Table."
|
|
4
4
|
allowed-tools: Bash(npx shadcn@latest *), Bash(pnpm dlx shadcn@latest *), Bash(bunx --bun shadcn@latest *)
|
|
5
|
-
release-version: 0.50.
|
|
5
|
+
release-version: 0.50.18
|
|
6
6
|
---
|
|
7
7
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
8
8
|
# shadcn/ui
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: zod-v4
|
|
3
3
|
description: Zod v4 schema conventions and v3 migration for errors, validators, objects, enums, records, and async parsing.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Zod v3 to v4 Migration
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cloud-build
|
|
3
3
|
description: "Build or debug Cloud Build pipelines for Cloud Run: cloudbuild.yaml, triggers, Artifact Registry, builds, migrations, deploys, secrets, VPC, notifications. Use cloud-deploy for staged promotion. NOT for GitHub Actions PR checks (github-actions)."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Cloud Build Direct Deploy to Cloud Run
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cloud-debug
|
|
3
3
|
description: "Debug Cloud Build or Deploy failures: builds, deployments, health checks, and pipeline errors. Inputs: service, build ID, region. NOT for GitHub Actions runs (github-actions) or runtime errors in a running service (app-debug)"
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Cloud Build & Cloud Deploy Debug Skill
|
|
@@ -5,7 +5,7 @@ description: >
|
|
|
5
5
|
CI/CD pipelines with staged promotion, verification gates, or GitFlow branching.
|
|
6
6
|
Also use when debugging Cloud Deploy pipeline failures. NOT for simple single-container
|
|
7
7
|
deploys — use cloud-build instead.
|
|
8
|
-
release-version: 0.50.
|
|
8
|
+
release-version: 0.50.18
|
|
9
9
|
---
|
|
10
10
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
11
11
|
# Cloud Deploy + Skaffold + Kustomize for Cloud Run
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: docker
|
|
3
3
|
description: Docker/Podman container architecture and build patterns. Read when designing or reviewing containerization, Dockerfile structure, multi-stage builds, PyPI mirror support, or docker-compose setup for Python/uv projects, and when a Dockerfile's dependency install misses the layer cache on every build (build args such as a commit SHA or version declared too early) or an image build is slow in CI.
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Docker Build Patterns
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: github-actions
|
|
3
|
-
description: "Author,
|
|
4
|
-
release-version: 0.50.
|
|
3
|
+
description: "Author, audit, profile, optimize, or debug GitHub Actions workflows (.github/workflows/*.yml): CI timings (download, setup, execution), runner resource use, same-runner parallelism, caching, sharding, worker counts, transient failure retries, conditional CI with Nx or Turborepo, required gates, PR and merge-queue lanes, timeouts, permissions, action pinning, post-deploy checks and npm publishing. Use when CI is slow, a check is stuck or never starts, or a runner lacks a browser. NOT for PR delivery or saved CI conventions (github-flow), queue rules or CI Insights Auto-Retry (mergify), Playwright config and specs (e2e-test), Cloud Run build/deploy (cloud-build), or deciding what a gate must prove (ensure-coverage)."
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# GitHub Actions
|
|
@@ -12,11 +12,13 @@ GitHub Actions verifies; Cloud Build builds and deploys. No workflow deploys to
|
|
|
12
12
|
|
|
13
13
|
| Task | Read and apply |
|
|
14
14
|
| --- | --- |
|
|
15
|
-
| Audit, profile, cleanup or optimize an existing pipeline | [Audit route](references/audit-and-cleanup.md):
|
|
15
|
+
| Audit, profile, cleanup or optimize an existing pipeline | [Audit route](references/audit-and-cleanup.md): download/setup/execution timings, core questions, priorities, verification |
|
|
16
16
|
| New workflow or authorized redesign | [Pipeline and gates](references/pipeline.md), then [conditional CI template](references/conditional-ci.md) |
|
|
17
|
+
| Run independent steps on the same runner or size worker pools | [In-job parallelism](references/speed-and-audit.md#in-job-parallelism) and [runner resource budgets](references/audit-and-cleanup.md#size-parallelism-to-the-runner) |
|
|
17
18
|
| Add or move self-hosted work; investigate slot, container or browser failures | [Runner interface](references/runners.md); for PostgreSQL, [workflow templates](references/postgres-workflows.md) |
|
|
18
19
|
| Harden a workflow | [Security](references/security.md) |
|
|
19
20
|
| Post-deploy checks or publishing | [Post-deploy and publishing](references/post-deploy-and-publishing.md) |
|
|
21
|
+
| Retry transient failures in PR or merge-queue CI | [Conditional retries](references/conditional-retries.md) |
|
|
20
22
|
| Failed, missing, stuck or live run | [Debugging and run watcher](references/debugging.md) |
|
|
21
23
|
|
|
22
24
|
Read only the references needed for the task. Templates describe new designs, not
|
|
@@ -23,9 +23,26 @@ Preserve required check names, validation meaning and changed queue-tree validat
|
|
|
23
23
|
from full-run duration. Runner consumption is summed job execution, not elapsed run time.
|
|
24
24
|
Mark missing timings unknown rather than within target.
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
### Break down job time by phase
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
For the jobs under review, report these three phases separately. Classify by
|
|
29
|
+
what the step does, not by its name.
|
|
30
|
+
|
|
31
|
+
| Phase | What to measure | What to check when it is slow |
|
|
32
|
+
| --- | --- | --- |
|
|
33
|
+
| **Download** | Dependency, tool, image and input-artifact fetches, including cache restore. | Did the cache hit, and did it pay off? Compare restore, remaining downloads and save costs against a comparable cold run. |
|
|
34
|
+
| **Setup / bootstrap** | Local dependency installation, service startup, environment preparation, migrations, seeds and other work needed before the check can run. | Can compatible checks share setup in one job, or reuse a valid build or fixture without losing isolation? Count the added wait, transfer and cleanup. |
|
|
35
|
+
| **Execution** | The actual validation workload, such as compile, lint, tests or smoke checks. | Remove duplicate work, narrow to affected checks without reducing required coverage, then tune shards or workers against the actual runner budget. |
|
|
36
|
+
|
|
37
|
+
An install can include both downloads and local setup. Use substep timings to
|
|
38
|
+
separate them; if unavailable, report the measured combined time and mark the
|
|
39
|
+
split unknown. Keep runner scheduling wait and other overhead such as output
|
|
40
|
+
uploads and teardown visible separately. Do not add overlapping phases as if
|
|
41
|
+
they ran in sequence, or exclude overhead from the full job and workflow totals.
|
|
42
|
+
|
|
43
|
+
## 2. Answer the core questions
|
|
44
|
+
|
|
45
|
+
Answer all five in a full CI audit, even when time targets are met. For a focused
|
|
29
46
|
fix, use the applicable questions. Name jobs, evidence and conclusion: **verified**,
|
|
30
47
|
**finding**, **unknown**, or **not applicable**, with a bounded next action when needed.
|
|
31
48
|
Configuration shows intent; measurements establish actual benefit.
|
|
@@ -33,15 +50,16 @@ Configuration shows intent; measurements establish actual benefit.
|
|
|
33
50
|
| Question | Evidence and decision |
|
|
34
51
|
| --- | --- |
|
|
35
52
|
| **Are runner resources used effectively?** | Inspect invoked worker/heap helpers and actual CPU/memory ceilings. Use workload-local CPU over time, throttling, peak memory/OOM and relevant I/O/network waits. Low CPU can mean serial work or I/O; high CPU can include throttling. Without utilization data, actual use is unknown: worker count alone proves neither headroom nor effective use. Increase workers only with measured headroom and fixture isolation; full utilization is not itself the goal. Apply [cgroup sizing](#cgroup-awareness). |
|
|
36
|
-
| **Does independent work run in parallel?** |
|
|
53
|
+
| **Does independent work run in parallel?** | Use `needs`, step timings and worker settings to separate real dependencies and shared-state conflicts from work left serial. Evaluate [same-runner parallel steps](speed-and-audit.md#in-job-parallelism) against the [CPU and memory budget from the first question](#size-parallelism-to-the-runner). Compare with matrix fan-out only after checking available slots, scheduling waits and repeated setup. Name what can overlap, what stays serial and why. |
|
|
37
54
|
| **Do caches save time across relevant runs?** | Compare restore + save + warm install/build with comparable cold execution. Check input/toolchain keys, invalidation, hits/misses, scope, size and eviction, including local stores. A configured cache or hit is not a saving. Preserve lockfile integrity and trust boundaries; exclude credentials and unsafe content. Remove transfer when its net cost exceeds avoided work. |
|
|
38
55
|
| **Can setup or fixtures be shared safely?** | Measure repeated install/build, service startup, migration/seed and per-test fixture costs. Compare compatible checks in one job, build-once artifacts, session fixtures or immutable snapshots against producer waits, transfer, restore and cleanup. Reusable workflows/composite actions share definitions, not completed setup. Bind outputs to the correct revision and all inputs/toolchains; isolate mutable databases, ports, accounts and files per consumer, with reset/cleanup and failure reporting. Route test edits through `test-quality`, browser fixtures through `e2e-test`. |
|
|
56
|
+
| **Can CI recover safely from transient failures?** | Inspect recent failed steps and attempts for each relevant lane. Separate transient network or operation errors from deterministic failures and jobs that never started. Apply [conditional retries](conditional-retries.md) at the smallest safe operation, with a clear retry owner, attempt and time limits, and a failed required check when attempts are exhausted. For external retries check actual rerun scope and queue support with `mergify`. If evidence is missing, report recovery as unknown; do not add a blanket retry. |
|
|
39
57
|
|
|
40
58
|
## 3. Collect enough evidence
|
|
41
59
|
|
|
42
60
|
Start with a representative successful run in the relevant lane, or the relevant failure
|
|
43
61
|
for a bug fix. First combine job/step timing with a compact graph (names, `needs`,
|
|
44
|
-
conditions, runners); then read dominant jobs and invoked commands. Expand for the
|
|
62
|
+
conditions, runners); then read dominant jobs and invoked commands. Expand for the core
|
|
45
63
|
questions and audit scope, not merely the longest job. Use the
|
|
46
64
|
[two-pass commands](two-pass-reading.md) to filter large YAML/API payloads before printing.
|
|
47
65
|
Inspect current pinned source and record its SHA separately from historical run SHA,
|
|
@@ -52,7 +70,7 @@ otherwise mark the correspondence unknown.
|
|
|
52
70
|
gh run list --repo owner/repo --workflow ci.yml --limit 10 \
|
|
53
71
|
--json databaseId,event,headSha,conclusion,createdAt,url
|
|
54
72
|
node "$SKILL_DIR/scripts/ci-run-audit.mjs" --repo owner/repo --profile-run 123456 --json
|
|
55
|
-
#
|
|
73
|
+
# When failures explain latency, block measurement, or demonstrate recovery:
|
|
56
74
|
gh run view 123456 --repo owner/repo --log-failed
|
|
57
75
|
# History only for unresolved redundancy/variability or an explicit history audit:
|
|
58
76
|
node "$SKILL_DIR/scripts/ci-run-audit.mjs" --repo owner/repo --runs 60
|
|
@@ -64,7 +82,8 @@ node "$SKILL_DIR/scripts/ci-run-audit.mjs" --from runs.json --json
|
|
|
64
82
|
The CLI never edits workflows. History hydrates every requested run without filtering
|
|
65
83
|
workflow/change class. Separate workflow, PR/queue/scheduled/manual, outcome, attempt,
|
|
66
84
|
runner and comparable change cohorts. Reruns are not independent code states.
|
|
67
|
-
|
|
85
|
+
The profiler's setup/work labels are heuristics, not the three-phase breakdown.
|
|
86
|
+
Missing timestamps are unknown, and tree metadata
|
|
68
87
|
does not prove the tested checkout or authorize reuse. Zero sole catches does not
|
|
69
88
|
justify retiring rare security/money coverage; correlated failures may be shared setup
|
|
70
89
|
or reducer failures. `--ignore-job <regex>` excludes roll-ups, not substantive tests.
|
|
@@ -128,19 +147,47 @@ blocked and continue independent workflow work. Audits stop at recommendations.
|
|
|
128
147
|
|
|
129
148
|
Read limits where the workload executes, including inside job-started containers.
|
|
130
149
|
Resolve its cgroup and visible ancestors: v2 `cpu.max`, `cpuset.cpus.effective`,
|
|
131
|
-
`memory.max`, or corresponding v1 quota/cpuset/memory controls.
|
|
132
|
-
|
|
133
|
-
sentinels as unlimited
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
150
|
+
`memory.max`, or corresponding v1 quota/cpuset/memory controls. Use the tighter of
|
|
151
|
+
the assigned runner/slot budget and measured limits, including CPU affinity. Treat
|
|
152
|
+
`max` and v1 unlimited sentinels as unlimited, not as permission to use the host's
|
|
153
|
+
entire capacity. Where runtime limits are unavailable, use the documented allocation
|
|
154
|
+
for the runner class; where neither is known, start serial and report the sizing gap.
|
|
155
|
+
|
|
156
|
+
## Size parallelism to the runner
|
|
157
|
+
|
|
158
|
+
1. **Reserve headroom.** Start with a serial or current baseline. Measure CPU,
|
|
159
|
+
peak memory, and child processes for each candidate step. Set aside capacity
|
|
160
|
+
for the runner, shared services and cleanup. Include browser processes,
|
|
161
|
+
compiler pools and databases in the budget, not just their parent commands.
|
|
162
|
+
2. **Budget simultaneous work together.** For CPU-bound work, start with a CPU
|
|
163
|
+
budget per task and fit the sum within the slot's remaining CPU allocation.
|
|
164
|
+
Size workers to fit measured peak memory and any lower limits from shared
|
|
165
|
+
fixtures, devices, disk or network. Pass worker counts explicitly to the tools;
|
|
166
|
+
no concurrent tool should independently size itself to the entire slot. A
|
|
167
|
+
fractional CPU quota can still run one worker if memory and fixtures permit.
|
|
168
|
+
If two steps do not fit together, keep them serial or use separate slots when
|
|
169
|
+
pool capacity and the setup cost justify it. For a fixed `parallel` group on
|
|
170
|
+
a mixed-size pool, fit the smallest eligible allocation. To use a larger
|
|
171
|
+
slot's headroom, select sizing before the group and use tool-level worker
|
|
172
|
+
controls or a serial path on smaller slots, without skipping either check.
|
|
173
|
+
3. **Measure before increasing.** Log the effective limits and chosen step and
|
|
174
|
+
worker counts. Compare the same checks on comparable runners and cache states:
|
|
175
|
+
job and full-run elapsed time, summed runner time, CPU throttling, peak memory,
|
|
176
|
+
and failures. Keep the lowest tested concurrency that meets the latency goal
|
|
177
|
+
without contention or worse reliability.
|
|
178
|
+
|
|
179
|
+
Example: on a 4 CPU / 8 GiB slot, reserve 1 CPU / 2 GiB for the runner, services
|
|
180
|
+
and cleanup. If tests with two workers fit within 2 CPU / 4 GiB and an independent
|
|
181
|
+
lint check fits within 1 CPU / 2 GiB, run them together after one shared install.
|
|
182
|
+
That uses the remaining budget on one slot instead of leaving capacity idle
|
|
183
|
+
while the checks take turns. Count the parent and child processes in each budget.
|
|
184
|
+
These numbers illustrate sizing, not defaults: keep the overlap only if it
|
|
185
|
+
shortens the job without excessive throttling, memory pressure or new failures.
|
|
186
|
+
|
|
187
|
+
Scope Node `--max-old-space-size` to the build and leave room for young generation,
|
|
188
|
+
native memory, buffers and subprocesses. Host Docker/Podman API containers are
|
|
189
|
+
siblings and do not inherit runner limits: set explicit CPU/memory caps within the
|
|
190
|
+
assigned budget, then size workers inside them.
|
|
144
191
|
|
|
145
192
|
## 5. Verify and close
|
|
146
193
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Conditional CI retries
|
|
2
|
+
|
|
3
|
+
Retry the smallest safe operation before the required check reports its result.
|
|
4
|
+
Keep the same candidate SHA, test selection and required check. A retry is for a
|
|
5
|
+
known transient failure, not a substitute for fixing a flaky test or runner.
|
|
6
|
+
|
|
7
|
+
## Classify the failed operation
|
|
8
|
+
|
|
9
|
+
Read the producing step's exit status and logs. Prefer the tool's typed error
|
|
10
|
+
or a specific failure signature from that operation. A bare `timeout`, `exit 1`,
|
|
11
|
+
or a line found somewhere in the workflow log is not a diagnosis.
|
|
12
|
+
|
|
13
|
+
| Evidence | Action |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| An idempotent fetch failed with a confirmed transient network error, upstream HTTP 503 or a download timeout | Retry just the fetch. Separate it from install hooks, build and tests. |
|
|
16
|
+
| Compile, lint, assertion, lockfile, authentication, configuration or unknown failure | Fail without retrying. Diagnose unknown errors before adding a match. |
|
|
17
|
+
| Workflow or job never started, runner lost, job cancelled or job-level timeout | No in-job retry can recover it. Inspect triggers, runner capacity, cancellation or the job's time budget. For an external retry, see the `mergify` skill. |
|
|
18
|
+
|
|
19
|
+
## Implement at the operation boundary
|
|
20
|
+
|
|
21
|
+
- Reuse a tool's configurable retry when it matches the observed errors. Otherwise
|
|
22
|
+
retry only on an explicit allowlist checked against that operation's output. Start
|
|
23
|
+
with **one extra attempt** and a short backoff. Count built-in retries in the
|
|
24
|
+
budget; don't wrap a client that already retries the same failure.
|
|
25
|
+
- Bound each attempt and the whole operation, including backoff. Leave enough of
|
|
26
|
+
the job budget for cleanup and required checks. Replay only idempotent operations
|
|
27
|
+
or explicitly reset their partial output. Log the reason and attempt, even when
|
|
28
|
+
the retry recovers.
|
|
29
|
+
- Propagate the last failure to the existing gate when retries are exhausted.
|
|
30
|
+
Don't use `continue-on-error` to turn a failed required check green.
|
|
31
|
+
- Give each failure one retry owner. Apply the workflow retry on Mergify's draft
|
|
32
|
+
batch PR for a failure class handled by CI Insights on ordinary PRs. Reuse the
|
|
33
|
+
repo's existing [lane detection](pipeline.md#merge-queue-optional-pick-one);
|
|
34
|
+
Mergify batch PRs are `pull_request` runs, not GitHub `merge_group` runs.
|
|
35
|
+
When the workflow owns the retry in both lanes, keep that failure class out of
|
|
36
|
+
CI Insights rules too.
|
|
37
|
+
|
|
38
|
+
For example, if an artifact GET intermittently returns 503, use `curl`'s native
|
|
39
|
+
retry rather than rerunning the job. This example requires curl 7.83 or later;
|
|
40
|
+
its native retry also covers other documented transient responses and timeouts.
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
curl --disable --fail --no-progress-meter --retry 1 --retry-delay 2 --retry-max-time 20 \
|
|
44
|
+
--connect-timeout 5 --max-time 15 --remove-on-error \
|
|
45
|
+
--output "$RUNNER_TEMP/tool.tar.gz" "$TOOL_URL"
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
`--retry-max-time` limits when another attempt may start, including on a long
|
|
49
|
+
`Retry-After`; it does not stop a transfer already in progress. Budget up to
|
|
50
|
+
35 seconds here, or use an outer operation deadline if the budget is tighter.
|
|
51
|
+
Keep integrity verification after the download and fail immediately on a checksum
|
|
52
|
+
mismatch. Do not add `--retry-all-errors`.
|
|
53
|
+
|
|
54
|
+
When adopting a retry, verify that a matching transient failure retries and
|
|
55
|
+
can recover, an exhausted retry leaves the gate red, and a deterministic failure
|
|
56
|
+
runs once. Verify the policy on the intended lane before relying on it. Track
|
|
57
|
+
pass-on-retry separately from first-pass success so a growing retry rate stays visible.
|
|
@@ -174,10 +174,12 @@ Playwright image's browser, and point the browser path variable at it:
|
|
|
174
174
|
|
|
175
175
|
## Resources, capacity and time
|
|
176
176
|
|
|
177
|
-
- **Timeouts and parallelism:**
|
|
178
|
-
actual
|
|
179
|
-
|
|
180
|
-
|
|
177
|
+
- **Timeouts and parallelism:** size [steps and workers](audit-and-cleanup.md#size-parallelism-to-the-runner)
|
|
178
|
+
to the actual slot quota. Several runner instances on the same host still share
|
|
179
|
+
host resources; increasing matrix fan-out consumes more slots, not more capacity
|
|
180
|
+
per slot. Setup-heavy short jobs are candidates for consolidation, not proof that
|
|
181
|
+
merging improves latency. A hung self-hosted job can hold a slot for hours to days;
|
|
182
|
+
the fleet's longest planned budget is a 35-minute browser lane.
|
|
181
183
|
- Superseded PR cancellation uses the [concurrency recipe](speed-and-audit.md).
|
|
182
184
|
|
|
183
185
|
## Packages and caches
|
|
@@ -23,8 +23,8 @@ identifies the corresponding cost.
|
|
|
23
23
|
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
24
24
|
```
|
|
25
25
|
Never cancel deploy, publish or post-deploy runs; builds can finish out of order.
|
|
26
|
-
- **Retries:**
|
|
27
|
-
|
|
26
|
+
- **Retries:** retry the smallest safe operation for a diagnosed transient failure.
|
|
27
|
+
See [conditional retries](conditional-retries.md) for classification and limits.
|
|
28
28
|
- **Database preparation:** profile launch, readiness and schema preparation separately.
|
|
29
29
|
Poll readiness every 1-2 seconds with retries preserving the total timeout. Batch SQL
|
|
30
30
|
in one session, parallelize independent scripts, or key snapshots on every schema and
|
|
@@ -34,6 +34,25 @@ identifies the corresponding cost.
|
|
|
34
34
|
- **Browser artifacts:** `screenshot: 'only-on-failure'`, `trace: 'retain-on-failure'`,
|
|
35
35
|
`video: 'off'`; upload on failure and preserve producer failures.
|
|
36
36
|
|
|
37
|
+
## In-job parallelism
|
|
38
|
+
|
|
39
|
+
One runner instance takes one job at a time. Steps in that job run in order by
|
|
40
|
+
default. Use GitHub's native [`parallel`](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idstepsparallel)
|
|
41
|
+
for independent steps after shared setup; the next step waits for the group.
|
|
42
|
+
Use `background: true` and `wait` for branches that join at different points,
|
|
43
|
+
or `cancel` to stop a service you no longer need. Wait for any output before
|
|
44
|
+
consuming it. These keywords are for workflow steps, not steps inside composite
|
|
45
|
+
actions. Confirm that the target runner and workflow validator support the
|
|
46
|
+
syntax before adopting it.
|
|
47
|
+
|
|
48
|
+
Share read-only inputs, isolate writes (including output paths, services and
|
|
49
|
+
fixtures), and keep dependent steps in order. Decide how many steps and workers
|
|
50
|
+
to start from the [runner resource budget](audit-and-cleanup.md#size-parallelism-to-the-runner),
|
|
51
|
+
not GitHub's step limit. Ensure a failed parallel check still fails the job.
|
|
52
|
+
For work that does not fit in one slot, a matrix can use multiple runner instances;
|
|
53
|
+
size `max-parallel` from the slots the shared pool can spare. The workflow
|
|
54
|
+
`concurrency` key controls run or job groups, not worker counts or CPU allocation.
|
|
55
|
+
|
|
37
56
|
## SLA
|
|
38
57
|
|
|
39
58
|
See the authoritative [timing targets](audit-and-cleanup.md#timing-targets).
|
|
@@ -55,7 +55,9 @@ gh api "repos/$REPO/contents/$WORKFLOW?ref=$SHA" \
|
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
Connect timings to this graph and the established required checks before picking the
|
|
58
|
-
target.
|
|
58
|
+
target. For the selected jobs, use the [three timing phases](audit-and-cleanup.md#break-down-job-time-by-phase)
|
|
59
|
+
to distinguish a slow transfer, repeated setup, and expensive execution. Job IDs are
|
|
60
|
+
not display names; a matrix job may correspond to several timing
|
|
59
61
|
rows. Read top-level concurrency separately if start delay makes it relevant. Do not
|
|
60
62
|
assume the sampled run used this SHA: check source correspondence when needed.
|
|
61
63
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: github-flow
|
|
3
3
|
description: "Deliver a committed change to done: push, open a PR, wait for its checks, and merge through the repo's flow (direct push, pull request, or merge queue). Use whenever you commit or finish a change, when CONTRIBUTING.md has a Delivery section, and for asks like 'commit this', 'push it', 'open a PR', 'ship it', 'land it', 'get it merged', 'is my PR green', 'wait for CI', 'merge once the checks pass', 'confirm it really merged'. Every wait here runs the bundled scripts/watch-checks.mjs: never hand-roll a gh pr view or gh pr checks --watch polling loop, and never call a branch merged without the merge commit. Also: declare a repo's delivery flow, or write the CI conventions and Delivery section into CONTRIBUTING.md on request. NOT for writing workflow YAML (github-actions), Mergify config or a stuck queued PR (mergify), cutting a release (resolve-release), or PRs that resolve-issues or rush-issues deliver."
|
|
4
|
-
release-version: 0.50.
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# GitHub Flow
|
|
@@ -5,7 +5,7 @@ description: >
|
|
|
5
5
|
project management. Use when configuring GCP resources, managing service
|
|
6
6
|
accounts, setting up IAP access, configuring VPC networks, managing secrets,
|
|
7
7
|
or debugging cloud infrastructure.
|
|
8
|
-
release-version: 0.50.
|
|
8
|
+
release-version: 0.50.18
|
|
9
9
|
---
|
|
10
10
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
11
11
|
# Google Cloud Platform (GCP) Skill
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mergify
|
|
3
|
-
description: "Mergify merge
|
|
4
|
-
release-version: 0.50.
|
|
3
|
+
description: "Mergify merge queues and stacked PRs (`mergify stack`): push a stack, fix stack hooks or missing Change-Id, enqueue and watch a PR, or diagnose a stuck or dequeued PR. Use `mergify queue show` and `watch_delivery` (or the bundled watcher); GitHub checks cannot see a dequeue. Covers `.mergify.yml`, queue rules, merge protections, batch size, queue-only rulesets, bypass actors and freezes, CI Insights Auto-Retry and batch retries, manual vs automatic enqueue, and missing or unmet queue checks. Use when GitHub CI is green but Mergify is blocked, a batch bisects, or a PR merges outside the queue. Outranks vendor mergify-* skills. NOT for pushing PRs without stack hooks (github-flow), workflow YAML (github-actions), or GCP deploy pipelines (cloud-deploy)."
|
|
4
|
+
release-version: 0.50.18
|
|
5
5
|
---
|
|
6
6
|
**Updates:** Once/session run `node <skill-base-dir>/release-check.mjs`.
|
|
7
7
|
# Mergify Merge Queue
|
|
@@ -23,6 +23,7 @@ Requires mergify CLI **2026.10.5 or newer** ([stacks.md](references/stacks.md#cl
|
|
|
23
23
|
| **Push, open, or update a PR in a stack repo** (hook says "Use 'mergify stack push'", `Change-Id` missing) | [`references/stacks.md`](references/stacks.md) | Push with `scripts/stack-push.mjs`. One commit = one PR; amend to fix. Never `--no-verify`. |
|
|
24
24
|
| A stacked PR gets no CI, conflicts after its parent lands, or is dequeued "could not be retargeted onto … `main`" | [`references/configuration.md`](references/configuration.md#stack-ready), then [`references/traps.md`](references/traps.md) | Make the repo stack-ready (native stacks: Mergify's ruleset bypass `exempt`; `Depends-On` stacks also need PR CI on every base, commits kept, auto-delete head branches); then `mergify stack push --force-rebase` for a stuck tip. |
|
|
25
25
|
| Author or change `.mergify.yml` | [`references/configuration.md`](references/configuration.md) | [Rule 1](#rule-1--fetch-the-docs-before-writing-config): never write config from memory; finish with `validate` **and** `simulate`. |
|
|
26
|
+
| **Automatically retry CI** on PRs or in the queue | [CI retries](references/ci-retries.md) | CI Insights skips queue batch PRs. Use `github-actions` for targeted retries inside the queue run; `max_checks_retries` reruns the whole batch. |
|
|
26
27
|
| **Watch a PR through the queue** | [`references/watch-contract.md`](references/watch-contract.md) | **[Rule 2](#rule-2--never-hand-roll-a-watcher): run `watch_delivery`, else the bundled watcher; never hand-roll one.** A watch observes a *progression*, not one state. It emits the initial snapshot and delivery/readability transitions; repeated identical polls stay quiet. |
|
|
27
28
|
| **The queue feels slow, or is it worth it?** | [`references/diagnosis.md`](references/diagnosis.md#measuring-a-slow-queue) | Measure first-try merge rate and same-SHA requeues from the event log, then fix the flaky queue check. Never move a queue-only check onto the PR lane, and never rerun CI on push to `main` ([rules](references/configuration.md#the-queue-run-is-the-integration-run)). |
|
|
28
29
|
| Check status — "where is my PR?", "why is it stuck?" | [`references/diagnosis.md`](references/diagnosis.md#querying-pr-and-queue-status) | `mergify queue show <number> -v` names the single blocking condition (bare number, never a URL; the CLI takes `--repository <owner/repo>`, never `--repo`; the bundled watcher below takes `--repo`); nothing else in the toolchain does. `gh pr checks` is CI truth, never queue truth. |
|