ci-smoke-needs-real-deps

Aligns GitHub Actions smoke tests with required service containers and environment variables.

61|1|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/Innei/SKILL --skill ci-smoke-needs-real-deps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-smoke-needs-real-deps
Source: https://github.com/Innei/SKILL/tree/main/skills/infrastructure/ci-smoke-needs-real-deps
Command: npx skills add https://github.com/Innei/SKILL --skill ci-smoke-needs-real-deps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

CI release pipelines fail smoke tests because external dependencies (PostgreSQL, MySQL, Redis, MongoDB, S3, etc.) are not available in the test environment. The fix is to declare the dependency as a CI service container and inject the matching environment variables on the smoke step to mirror the actual deployment.

Core Features & Use Cases

  • Diagnostic checklist to align ci.yml with release.yml so the smoke workflow uses the same services and env vars as the production flow.
  • Guidance for adding external dependencies to CI (service containers, env vars) with an example alignment pattern.
  • Use Case: When a smoke test fails after a stack migration due to missing or mismatched dependencies, apply this Skill to restore parity between CI and release configurations.

Quick Start

Update your release CI configuration to declare the required service containers and environment variables on the smoke step.

Frequently Asked Questions about ci-smoke-needs-real-deps

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why do CI smoke tests fail in GitHub Actions release workflows?

CI smoke tests fail because external dependencies like PostgreSQL, MySQL, Redis, MongoDB, or S3 are not available in the test environment. You must declare these dependencies as CI service containers and inject matching environment variables into the smoke step to mirror actual deployment.

How do I add PostgreSQL and Redis service containers to my GitHub Actions smoke tests?

To add PostgreSQL and Redis service containers to GitHub Actions smoke tests, update your release CI configuration to declare the required services. Match the environment variables on the smoke step to align ci.yml with release.yml configuration parity.

What is the best way to align ci.yml and release.yml for external dependencies?

Aligning ci.yml and release.yml requires a diagnostic checklist to ensure the smoke workflow uses the same service containers and environment variables as the production flow. Apply this pattern during stack migrations or new external service integrations to restore configuration parity.

Does this CI smoke test fix work for dependency migrations and stack upgrades?

Yes, this approach applies to GitHub Actions release workflows during dependency migrations, stack upgrades, or when adding new external services. It enforces a pattern of aligning ci.yml and release.yml with diagnostic checks and example snippets for adding services like postgres or redis.

How do environment variables affect smoke tests in CI pipelines?

Environment variables must be injected on the smoke step to mirror the actual deployment configuration. Mismatched or missing environment variables cause smoke tests to fail because the test environment cannot locate the external dependencies declared as service containers.

Can I use this service container pattern for MongoDB and S3 in GitHub Actions?

Yes, the service container pattern supports adding MongoDB, S3, PostgreSQL, MySQL, and Redis to GitHub Actions. Declare the required external dependency as a CI service container and inject the matching environment variables on the smoke step to resolve missing dependency failures.