Skip to content

docs: deprecate legacy component dependency guidance - #2773

Merged
Andriy Knysh (aknysh) merged 3 commits into
mainfrom
osterman/fix-deprecated-dependency-docs
Jul 20, 2026
Merged

Andriy Knysh (aknysh) merged 3 commits into
mainfrom
osterman/fix-deprecated-dependency-docs

Conversation

@osterman

@osterman Erik Osterman (Cloud Posse) (osterman) commented Jul 20, 2026 •

Copy link
Copy Markdown
Member

what

  • Replace active settings.depends_on examples with canonical dependencies.components syntax across docs, blogs, and public AI examples.
  • Move the Spacelift guide into Deprecated, add a native-CI warning, and redirect the former integration URL.
  • Reduce the legacy depends_on page to migration guidance and remove active Spacelift promotion.

why

  • Prevent new configurations from adopting deprecated dependency syntax or treating the legacy Spacelift integration as a recommended path.

references

Summary by CodeRabbit

  • Documentation

    • Updated CLI, migration, and stack/dependency docs to use the dependencies.components format across examples, including component, stack, type, and file/folder dependency listings.
    • Replaced/condensed the legacy settings.depends_on documentation with a dedicated migration guide and clarified common error handling.
    • Refreshed !append YAML documentation to append under dependencies.components.
  • Examples / Website

    • Updated example stack manifests to declare inter-component dependencies via dependencies.components.
    • Added a deprecated Spacelift reference and a documentation redirect to the deprecated page.

@atmos-pro

atmos-pro Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Tip

Atmos Pro  

No affected stacks workflow was detected for this pull request.
If this is expected, no action is needed.
Learn More. Ask AI.

@github-actions github-actions Bot added the size/l Large size PR label Jul 20, 2026
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

@mergify

mergify Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Important

Cloud Posse Engineering Team Review Required

This pull request modifies files that require Cloud Posse's review. Please be patient, and a core maintainer will review your changes.

To expedite this process, reach out to us on Slack in the #pr-reviews channel.

@mergify mergify Bot added the needs-cloudposse Needs Cloud Posse assistance label Jul 20, 2026
@osterman
Erik Osterman (Cloud Posse) (osterman) marked this pull request as ready for review July 20, 2026 18:06
@osterman Erik Osterman (Cloud Posse) (osterman) added the no-release Do not create a new release (wait for additional code changes) label Jul 20, 2026
@coderabbitai

coderabbitai Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9043f7e6-e6e3-4ed9-8bf2-3434ddd7bc9a

📥 Commits

Reviewing files that changed from the base of the PR and between fbd081d and 02da893.

📒 Files selected for processing (1)
  • website/docs/intro/why-atmos/nirvana.mdx

📝 Walkthrough

Walkthrough

The change migrates stack examples and documentation from legacy settings.depends_on declarations to dependencies.components, adds migration guidance, and reclassifies the Spacelift integration as deprecated with updated documentation and routing.

Changes

Dependency migration

Layer / File(s) Summary
Deployment dependency declarations
examples/ai/stacks/deploy/...
Network and production examples now declare component dependencies with dependencies.components and name entries.
Dependency model and CLI documentation
website/blog/..., website/docs/cli/..., website/docs/stacks/dependencies/..., website/docs/stacks/settings/..., website/docs/troubleshoot/errors.mdx
Documentation now describes component, file, folder, stack, and cross-type dependencies using the current schema and migration guidance.
Component and YAML function examples
website/docs/stacks/components/..., website/docs/functions/yaml/..., website/blog/2026-06-08-append-yaml-function.mdx
Component guides and !append examples use dependencies.components with named entries.
Spacelift deprecation and site routing
website/docs/deprecated/spacelift.mdx, website/docs/cli/configuration/integrations/..., website/docs/deploy/deploy.mdx, website/docusaurus.config.js
Spacelift references are marked legacy, a deprecated integration page is added, and the old integration path redirects to it.

Estimated code review effort: 3 (Moderate) | ~25 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: deprecating legacy dependency guidance in favor of the new syntax.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch osterman/fix-deprecated-dependency-docs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@website/docs/intro/why-atmos/nirvana.mdx`:
- Line 37: Update the GitHub Actions and Atlantis links in the nirvana
documentation paragraph to use the relative paths /ci and
/cli/configuration/integrations/atlantis instead of absolute atmos.tools URLs,
preserving the existing link text.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: f1593ee9-5b64-4c38-b5f0-75ce67e66aea

📥 Commits

Reviewing files that changed from the base of the PR and between 6325b89 and fbd081d.

📒 Files selected for processing (31)
  • examples/ai/stacks/deploy/network/us-east-1.yaml
  • examples/ai/stacks/deploy/network/us-west-2.yaml
  • examples/ai/stacks/deploy/prod/us-east-1.yaml
  • examples/ai/stacks/deploy/prod/us-west-2.yaml
  • website/blog/2026-03-09-terraform-all-dependency-order.mdx
  • website/blog/2026-03-15-dependencies-components.mdx
  • website/blog/2026-05-26-dependencies-files-folders.mdx
  • website/blog/2026-06-08-append-yaml-function.mdx
  • website/docs/cli/commands/describe/describe-component.mdx
  • website/docs/cli/commands/describe/describe-dependents.mdx
  • website/docs/cli/commands/terraform/usage.mdx
  • website/docs/cli/configuration/integrations/index.mdx
  • website/docs/cli/configuration/integrations/spacelift.mdx
  • website/docs/deploy/deploy.mdx
  • website/docs/deprecated/spacelift.mdx
  • website/docs/functions/yaml/append.mdx
  • website/docs/functions/yaml/index.mdx
  • website/docs/intro/why-atmos/nirvana.mdx
  • website/docs/intro/why-atmos/stage-7.mdx
  • website/docs/migration/terragrunt.mdx
  • website/docs/stacks/components/ansible.mdx
  • website/docs/stacks/components/helmfile.mdx
  • website/docs/stacks/components/packer.mdx
  • website/docs/stacks/components/terraform/index.mdx
  • website/docs/stacks/dependencies/components.mdx
  • website/docs/stacks/dependencies/index.mdx
  • website/docs/stacks/name.mdx
  • website/docs/stacks/settings/depends_on.mdx
  • website/docs/stacks/settings/index.mdx
  • website/docs/troubleshoot/errors.mdx
  • website/docusaurus.config.js
💤 Files with no reviewable changes (2)
  • website/docs/cli/configuration/integrations/spacelift.mdx
  • website/docs/stacks/dependencies/components.mdx

@codecov

codecov Bot commented Jul 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.67%. Comparing base (54a79c0) to head (b727e7e).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2773   +/-   ##
=======================================
  Coverage   81.67%   81.67%           
=======================================
  Files        1778     1778           
  Lines      170496   170496           
=======================================
+ Hits       139253   139255    +2     
- Misses      23513    23514    +1     
+ Partials     7730     7727    -3     
Flag Coverage Δ
unittests 81.67% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 12 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aknysh
Andriy Knysh (aknysh) merged commit 53cb087 into main Jul 20, 2026
80 checks passed
@aknysh
Andriy Knysh (aknysh) deleted the osterman/fix-deprecated-dependency-docs branch July 20, 2026 22:52
@atmos-pro

atmos-pro Bot commented Jul 20, 2026 •

Copy link
Copy Markdown
Contributor

Tip

Atmos Pro  

No affected stacks workflow was detected for this pull request.
If this is expected, no action is needed.
Learn More. Ask AI.

@mergify mergify Bot removed the needs-cloudposse Needs Cloud Posse assistance label Jul 20, 2026
@github-actions

Copy link
Copy Markdown

These changes were released in v1.223.1-rc.2.

This branch was successfully deployed

1 active deployment
preview — b727e7e7 Deployed Jul 20, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-release Do not create a new release (wait for additional code changes) size/l Large size PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants