Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 24, 2025

Bumps github.com/cloudposse/atmos from 1.189.0 to 1.191.0.

Release notes

Sourced from github.com/cloudposse/atmos's releases.

v1.191.0

Problem

When users encountered merge errors (like type mismatches between arrays and strings), they would see:

  1. Duplicate error messages - The same error printed multiple times to stderr
  2. No file context - No indication of which file or import chain caused the issue
  3. Difficult debugging - Impossible to identify the source of conflicts in complex configurations

Example of the problematic output:

cannot override two slices with different type ([]interface {}, string)
cannot override two slices with different type ([]interface {}, string)
cannot override two slices with different type ([]interface {}, string)
...

Solution

This PR implements two key improvements:

1. Fixed Duplicate Error Printing

  • Root Cause: merge.go was printing errors directly to stderr using theme.Colors.Error.Fprintln() before returning them
  • Fix: Removed all direct printing statements (3 locations)
  • Result: Errors now flow through proper logging channels and appear once

2. Added MergeContext for Enhanced Error Messages

  • File Tracking: Shows exactly which file is being processed when an error occurs
  • Import Chain: Displays the complete chain of imports leading to the error
  • Helpful Hints: Provides specific guidance for common merge errors
  • Debug Logging: Logs merge operations and failures at Debug level with full context

Example Output

Before:

cannot override two slices with different type ([]interface {}, string)
cannot override two slices with different type ([]interface {}, string)

After:

Error: cannot override two slices with different type ([]interface {}, string)

File being processed: stacks/deploy/prod/us-east-1.yaml
</tr></table>

... (truncated)

Commits
  • 6274d75 feat: enhance error messages in atmos validate stacks with file context (#1494)
  • 0180dbb feat: implement precondition-based test skipping for better developer experie...
  • a1e82e8 feat: add pre-commit hooks and development workflow (#1469)
  • 4e34c0c fix(telemetry): prevent PostHog errors from leaking to user output (#1491)
  • 77ad2dd feat: change !include to use file extension-based parsing and add !include.ra...
  • 46d13a3 fix: restore config import override behavior while maintaining Windows fix (#...
  • 3e2ed8a Update GitHub Actions workflow file paths to legacy folder (#1484)
  • 055fc4f feat: support listing helmfile and packer components (#1471)
  • 6d846f1 Change environment from 'demo' to 'screengrabs' (#1474)
  • 5876172 Fix screengrab workflows (#1453)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/cloudposse/atmos](https://github.com/cloudposse/atmos) from 1.189.0 to 1.191.0.
- [Release notes](https://github.com/cloudposse/atmos/releases)
- [Changelog](https://github.com/cloudposse/atmos/blob/main/CHANGELOG.md)
- [Commits](cloudposse/atmos@v1.189.0...v1.191.0)

---
updated-dependencies:
- dependency-name: github.com/cloudposse/atmos
  dependency-version: 1.191.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code minor New features that do not break anything labels Sep 24, 2025
@dependabot dependabot bot requested review from a team as code owners September 24, 2025 07:02
@dependabot dependabot bot added the minor New features that do not break anything label Sep 24, 2025
@dependabot dependabot bot requested a review from johncblandii September 24, 2025 07:02
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 24, 2025
@dependabot dependabot bot requested a review from Gowiem September 24, 2025 07:02
@dependabot dependabot bot added the go Pull requests that update Go code label Sep 24, 2025
Copy link

coderabbitai bot commented Sep 24, 2025

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (3)
  • Bump
  • chore(deps)
  • WIP

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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

@mergify mergify bot added the auto-update This PR was automatically generated label Sep 24, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 29, 2025

Superseded by #508.

@dependabot dependabot bot closed this Sep 29, 2025
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/cloudposse/atmos-1.191.0 branch September 29, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-update This PR was automatically generated dependencies Pull requests that update a dependency file go Pull requests that update Go code minor New features that do not break anything
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants