Skip to content

Add CEL-backed when conditions - #2689

Merged
Andriy Knysh (aknysh) merged 7 commits into
mainfrom
osterman/cel-when-expressions
Jul 5, 2026
Merged

Andriy Knysh (aknysh) merged 7 commits into
mainfrom
osterman/cel-when-expressions

Conversation

@osterman

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

Copy link
Copy Markdown
Member

what

  • Add pkg/condition to own when parsing, predicate handling, CEL compilation/evaluation, runtime context, and tests.
  • Keep pkg/schema compatible through aliases while wiring CEL-aware when evaluation into workflow steps, custom command steps, and hooks.
  • Update YAML tag normalization, JSON schemas, validation tests, and docs so bare CEL strings and explicit !cel conditions are supported.

why

  • This lets users write expressive, sandboxed boolean when expressions without replacing the existing predicate keywords.
  • Keeping schema aliases preserves current call sites while allowing condition behavior to evolve in a focused package.
  • Hook implicit-success behavior and workflow/custom-command failure predicate restrictions remain intact.

example

workflows:
  deploy:
    steps:
      - name: plan-prod
        type: shell
        command: terraform plan
        when: !cel 'ci && stack == "prod" && status == "success"'

references

  • Validation: go test ./pkg/condition ./pkg/schema ./pkg/workflow ./pkg/hooks ./pkg/datafetcher; go test ./cmd -run TestCustomCommandIntegration_SkipsStepWhenConditionIsFalse; go test ./pkg/workflow/... ./pkg/hooks/...; ./custom-gcl run --new-from-rev=origin/main.

@atmos-pro

atmos-pro Bot commented Jul 4, 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 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026 •

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

  • go.mod

@github-actions

github-actions Bot commented Jul 4, 2026 •

Copy link
Copy Markdown

Resource Changes Found for bucket in test

Atmos CI

[![create](https://shields.io/badge/PLAN-CREATE-success?style=for-the-badge)](#user-content-create-test-bucket)
Plan: 5 to add, 0 to change, 0 to destroy.
To reproduce this locally, run:

atmos terraform plan bucket -s test

Create

+ aws_s3_bucket.checkov_target
+ aws_s3_bucket.kics_target
+ aws_s3_bucket.this
+ aws_s3_bucket.trivy_target
+ aws_s3_bucket_public_access_block.trivy_target
Terraform Plan Summary
  # aws_s3_bucket.checkov_target will be created
  + resource "aws_s3_bucket" "checkov_target" {
      + acceleration_status         = (known after apply)
      + acl                         = (known after apply)
      + arn                         = (known after apply)
      + bucket                      = "atmos-native-ci-e2e-checkov-test"
      + bucket_domain_name          = (known after apply)
      + bucket_prefix               = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + object_lock_enabled         = (known after apply)
      + policy                      = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags_all                    = (known after apply)
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + cors_rule (known after apply)

      + grant (known after apply)

      + lifecycle_rule (known after apply)

      + logging (known after apply)

      + object_lock_configuration (known after apply)

      + replication_configuration (known after apply)

      + server_side_encryption_configuration (known after apply)

      + versioning (known after apply)

      + website (known after apply)
    }

  # aws_s3_bucket.kics_target will be created
  + resource "aws_s3_bucket" "kics_target" {
      + acceleration_status         = (known after apply)
      + acl                         = (known after apply)
      + arn                         = (known after apply)
      + bucket                      = "atmos-native-ci-e2e-kics-test"
      + bucket_domain_name          = (known after apply)
      + bucket_prefix               = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + object_lock_enabled         = (known after apply)
      + policy                      = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags_all                    = (known after apply)
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + cors_rule (known after apply)

      + grant (known after apply)

      + lifecycle_rule (known after apply)

      + logging (known after apply)

      + object_lock_configuration (known after apply)

      + replication_configuration (known after apply)

      + server_side_encryption_configuration (known after apply)

      + versioning (known after apply)

      + website (known after apply)
    }

  # aws_s3_bucket.this will be created
  + resource "aws_s3_bucket" "this" {
      + acceleration_status         = (known after apply)
      + acl                         = (known after apply)
      + arn                         = (known after apply)
      + bucket                      = "atmos-native-ci-e2e-test"
      + bucket_domain_name          = (known after apply)
      + bucket_prefix               = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + object_lock_enabled         = (known after apply)
      + policy                      = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags                        = {
          + "AtmosFixture" = "native-ci-e2e"
          + "Stage"        = "test"
        }
      + tags_all                    = {
          + "AtmosFixture" = "native-ci-e2e"
          + "Stage"        = "test"
        }
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + cors_rule (known after apply)

      + grant (known after apply)

      + lifecycle_rule (known after apply)

      + logging (known after apply)

      + object_lock_configuration (known after apply)

      + replication_configuration (known after apply)

      + server_side_encryption_configuration (known after apply)

      + versioning (known after apply)

      + website (known after apply)
    }

  # aws_s3_bucket.trivy_target will be created
  + resource "aws_s3_bucket" "trivy_target" {
      + acceleration_status         = (known after apply)
      + acl                         = (known after apply)
      + arn                         = (known after apply)
      + bucket                      = "atmos-native-ci-e2e-trivy-test"
      + bucket_domain_name          = (known after apply)
      + bucket_prefix               = (known after apply)
      + bucket_regional_domain_name = (known after apply)
      + force_destroy               = false
      + hosted_zone_id              = (known after apply)
      + id                          = (known after apply)
      + object_lock_enabled         = (known after apply)
      + policy                      = (known after apply)
      + region                      = (known after apply)
      + request_payer               = (known after apply)
      + tags_all                    = (known after apply)
      + website_domain              = (known after apply)
      + website_endpoint            = (known after apply)

      + cors_rule (known after apply)

      + grant (known after apply)

      + lifecycle_rule (known after apply)

      + logging (known after apply)

      + object_lock_configuration (known after apply)

      + replication_configuration (known after apply)

      + server_side_encryption_configuration (known after apply)

      + versioning (known after apply)

      + website (known after apply)
    }

  # aws_s3_bucket_public_access_block.trivy_target will be created
  + resource "aws_s3_bucket_public_access_block" "trivy_target" {
      + block_public_acls       = true
      + block_public_policy     = true
      + bucket                  = (known after apply)
      + id                      = (known after apply)
      + ignore_public_acls      = true
      + restrict_public_buckets = true
    }

Plan: 5 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + bucket_name = "atmos-native-ci-e2e-test"


Workspace "test" doesn't exist.

You can create this workspace with the "new" subcommand 
or include the "-or-create" flag with the "select" subcommand.

@coderabbitai

coderabbitai Bot commented Jul 4, 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: 306bf26d-140d-4c2c-ad57-20727757cbb4

📥 Commits

Reviewing files that changed from the base of the PR and between d59d705 and 372216d.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (5)
  • cmd/cmd_utils.go
  • go.mod
  • internal/exec/workflow_utils.go
  • pkg/hooks/hooks.go
  • pkg/workflow/executor.go
🚧 Files skipped from review as they are similar to previous changes (4)
  • go.mod
  • cmd/cmd_utils.go
  • pkg/hooks/hooks.go
  • internal/exec/workflow_utils.go

📝 Walkthrough

Walkthrough

Adds CEL-based condition support to parsing and evaluation, then routes workflow, custom command, and hook when checks through the new error-aware condition path and updates schemas, docs, tests, and dependency metadata.

Changes

CEL condition support

Layer / File(s) Summary
Condition model and evaluation
pkg/condition/condition.go, pkg/condition/cel.go, pkg/condition/evaluate.go
Defines the condition AST, CEL compilation and activation, evaluation dispatch, implicit-success handling, lifecycle checks, and step validation.
Condition package tests
pkg/condition/condition_test.go
Exercises YAML and JSON decoding, decode hooks, predicate registration, validation, runtime errors, and defensive node behavior.
Schema re-export and YAML tag support
pkg/schema/condition.go, pkg/utils/yaml_utils.go, pkg/utils/yaml_utils_test.go
Turns schema condition helpers into wrappers over the condition package and registers the !cel YAML tag in code and tests.
Workflow step conditions
internal/exec/workflow_utils.go, pkg/workflow/executor.go, pkg/workflow/executor_test.go
Builds richer workflow condition context, evaluates step when with EvaluateE, and adds workflow-level CEL coverage.
Custom command conditions
cmd/cmd_utils.go, cmd/custom_command_integration_test.go
Updates custom command step selection and execution to use richer condition contexts and EvaluateE, with CEL and env-gated integration coverage.
Hook condition evaluation
pkg/hooks/hook.go, pkg/hooks/hooks.go, pkg/hooks/step_engine_test.go
Adds RunsWhenE, threads stack/component context through hook filtering, and propagates condition evaluation errors across hook execution paths and tests.
Schemas, docs, and dependency metadata
pkg/datafetcher/schema/*, tests/fixtures/schemas/*, website/static/schemas/*, website/docs/*, NOTICE, go.mod, .github/workflows/dependency-review.yml
Updates condition schemas to accept CEL strings, adjusts schema validation tests, refreshes docs, and records the new CEL-related dependencies and license entries.

Estimated code review effort: 4 (Complex) | ~75 minutes

Possibly related PRs

Suggested labels: minor

Suggested reviewers: aknysh

🚥 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 clearly summarizes the main change: adding CEL-backed when conditions.
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 docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch osterman/cel-when-expressions

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: 3

🧹 Nitpick comments (2)
internal/exec/workflow_utils.go (1)

379-383: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Wrap EvaluateE errors with step/workflow context.

Every other error path in ExecuteWorkflow uses errUtils.Build(...).WithHint(...) for actionable messages, but these two new EvaluateE error returns are bare — a CEL syntax/runtime error won't tell the user which step or workflow triggered it.

As per path instructions: "Provide clear error messages to users, include troubleshooting hints when appropriate, and log detailed errors for debugging."

♻️ Proposed fix
-		runs, err := step.When.EvaluateE(workflowConditionContext(workflow, workflowDefinition, step, commandLineStack, workflowDefinition.Env))
-		if err != nil {
-			return err
-		}
+		runs, err := step.When.EvaluateE(workflowConditionContext(workflow, workflowDefinition, step, commandLineStack, workflowDefinition.Env))
+		if err != nil {
+			return fmt.Errorf("workflow %q step %q: %w", workflow, step.Name, err)
+		}

Apply the same pattern at the second call site (Lines 426-430).

Also applies to: 426-430

🤖 Prompt for 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.

In `@internal/exec/workflow_utils.go` around lines 379 - 383, The new EvaluateE
error returns in ExecuteWorkflow are bare and should be wrapped with the same
contextual error pattern used elsewhere. Update both EvaluateE call sites in
workflow_utils.go to return an errUtils.Build-based error with step/workflow
context and a helpful hint, using the existing workflowConditionContext, step,
and workflowDefinition data so users can tell which step or workflow triggered
the CEL failure.
pkg/workflow/executor.go (1)

191-197: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Same error-context gap as internal/exec/workflow_utils.go.

result.Error = err loses which step failed. Consider wrapping with step name before returning.

🤖 Prompt for 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.

In `@pkg/workflow/executor.go` around lines 191 - 197, The error handling in
executor’s step condition evaluation drops step context when
`step.When.EvaluateE(...)` fails. Update the `executor.go` logic so
`result.Error` and the returned error wrap the original error with the failing
step’s name/identifier, matching the context style used elsewhere (for example
in `workflowConditionContext`-driven execution paths). Keep the failure path in
the same `runs, err := ...` block, but ensure the wrapped error clearly
indicates which `step` triggered it.
🤖 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 `@cmd/cmd_utils.go`:
- Around line 631-635: The custom-command when gate is building its condition
context with a nil env, so env[...] lookups can fail during EvaluateE in the
custom-command execution path. Update the logic around step.When.EvaluateE and
customCommandConditionContext to resolve or pass the command environment before
evaluating the when expression, or otherwise make missing env keys safe, so
custom commands evaluate conditions consistently with workflows.

In `@NOTICE`:
- Around line 404-407: The NOTICE file is stale relative to the current
dependency set, so regenerate it from the latest go.sum rather than editing
entries manually. Re-run the notice generation script used by the repo, then
commit the updated NOTICE contents so the cel-go, antlr, go-strcase, and
playwright-go entries reflect the current dependency versions. Make sure the
regenerated output is the only change needed in NOTICE.

In `@pkg/workflow/executor.go`:
- Around line 235-269: Duplicate workflow condition context construction exists
in workflowConditionContext and the matching helper in internal/exec, so they
should be unified. Export the shared builder from this package (for example, a
BuildConditionContext helper that can take an optional env override) and update
internal/exec/workflow_utils.go to call it instead of reimplementing the same
stack-precedence and env-merge logic. Keep workflowConditionContext as a thin
wrapper or remove it once all callers use the shared helper.

---

Nitpick comments:
In `@internal/exec/workflow_utils.go`:
- Around line 379-383: The new EvaluateE error returns in ExecuteWorkflow are
bare and should be wrapped with the same contextual error pattern used
elsewhere. Update both EvaluateE call sites in workflow_utils.go to return an
errUtils.Build-based error with step/workflow context and a helpful hint, using
the existing workflowConditionContext, step, and workflowDefinition data so
users can tell which step or workflow triggered the CEL failure.

In `@pkg/workflow/executor.go`:
- Around line 191-197: The error handling in executor’s step condition
evaluation drops step context when `step.When.EvaluateE(...)` fails. Update the
`executor.go` logic so `result.Error` and the returned error wrap the original
error with the failing step’s name/identifier, matching the context style used
elsewhere (for example in `workflowConditionContext`-driven execution paths).
Keep the failure path in the same `runs, err := ...` block, but ensure the
wrapped error clearly indicates which `step` triggered it.
🪄 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: 19c046d8-68a4-4fff-b758-e475f5986e0d

📥 Commits

Reviewing files that changed from the base of the PR and between c09067f and f6b17c1.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (26)
  • NOTICE
  • cmd/cmd_utils.go
  • cmd/custom_command_integration_test.go
  • go.mod
  • internal/exec/workflow_utils.go
  • pkg/condition/cel.go
  • pkg/condition/condition.go
  • pkg/condition/condition_test.go
  • pkg/condition/evaluate.go
  • pkg/datafetcher/schema/atmos/manifest/1.0.json
  • pkg/datafetcher/schema/config/global/1.0.json
  • pkg/datafetcher/schema/stacks/stack-config/1.0.json
  • pkg/datafetcher/schema_condition_validation_test.go
  • pkg/hooks/hook.go
  • pkg/hooks/hooks.go
  • pkg/hooks/step_engine_test.go
  • pkg/schema/condition.go
  • pkg/schema/condition_test.go
  • pkg/utils/yaml_utils.go
  • pkg/workflow/executor.go
  • pkg/workflow/executor_test.go
  • tests/fixtures/schemas/atmos/atmos-manifest/1.0/atmos-manifest.json
  • website/docs/cli/configuration/commands/command/steps.mdx
  • website/docs/stacks/hooks.mdx
  • website/docs/workflows/workflows/workflow/steps/index.mdx
  • website/static/schemas/atmos/atmos-manifest/1.0/atmos-manifest.json
💤 Files with no reviewable changes (1)
  • pkg/schema/condition_test.go

Comment thread cmd/cmd_utils.go Resolved
Comment thread NOTICE Resolved
Comment thread pkg/workflow/executor.go Resolved
coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 4, 2026
@mergify

mergify Bot commented Jul 4, 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 4, 2026

@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.

🧹 Nitpick comments (1)
internal/exec/workflow_utils.go (1)

379-382: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Consider framing the condition-eval error like the rest of the workflow.

Every other early return in ExecuteWorkflow wraps failures with errUtils.Build(...).WithTitle(WorkflowErrTitle) plus workflow context, but a failing when evaluation returns the raw err here. When a CEL when fails to compile/evaluate, the user gets a bare message with no workflow or step attribution. Same pattern repeats in the execution loop at Lines 427-429.

Low-effort fix keeps the error experience consistent.

As per coding guidelines: "wrap errors with context using fmt.Errorf("context: %w", err)" and use the static-error builder for complex errors.

♻️ Proposed framing for the condition error
 		runs, err := step.When.EvaluateE(workflowPkg.BuildConditionContext(workflow, workflowDefinition, step, commandLineStack, workflowDefinition.Env))
 		if err != nil {
-			return err
+			return errUtils.Build(err).
+				WithTitle(WorkflowErrTitle).
+				WithContext("workflow", workflow).
+				WithContext("step", step.Name).
+				WithExitCode(1).
+				Err()
 		}
🤖 Prompt for 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.

In `@internal/exec/workflow_utils.go` around lines 379 - 382, The
`ExecuteWorkflow` condition-evaluation path returns a raw error from
`step.When.EvaluateE`, unlike the rest of the workflow error handling. Update
this branch, and the matching `when` evaluation in the execution loop, to wrap
failures with the existing workflow error framing via
`errUtils.Build(...).WithTitle(WorkflowErrTitle)` and include workflow/step
context. Use the same context-bearing pattern as other early returns so CEL
compile/evaluate failures are attributed consistently.

Source: Coding guidelines

🤖 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.

Nitpick comments:
In `@internal/exec/workflow_utils.go`:
- Around line 379-382: The `ExecuteWorkflow` condition-evaluation path returns a
raw error from `step.When.EvaluateE`, unlike the rest of the workflow error
handling. Update this branch, and the matching `when` evaluation in the
execution loop, to wrap failures with the existing workflow error framing via
`errUtils.Build(...).WithTitle(WorkflowErrTitle)` and include workflow/step
context. Use the same context-bearing pattern as other early returns so CEL
compile/evaluate failures are attributed consistently.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ae25cebf-626c-4d57-b817-820032ade7e7

📥 Commits

Reviewing files that changed from the base of the PR and between e4a979c and d59d705.

📒 Files selected for processing (5)
  • .github/workflows/dependency-review.yml
  • cmd/cmd_utils.go
  • cmd/custom_command_integration_test.go
  • internal/exec/workflow_utils.go
  • pkg/workflow/executor.go
🚧 Files skipped from review as they are similar to previous changes (3)
  • cmd/custom_command_integration_test.go
  • pkg/workflow/executor.go
  • cmd/cmd_utils.go

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 4, 2026
Comment thread cmd/cmd_utils.go Fixed
Comment thread cmd/cmd_utils.go Fixed
@codecov

codecov Bot commented Jul 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.22222% with 53 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.66%. Comparing base (5248383) to head (372216d).

Files with missing lines Patch % Lines
pkg/condition/evaluate.go 86.82% 9 Missing and 8 partials ⚠️
pkg/condition/condition.go 94.26% 5 Missing and 4 partials ⚠️
pkg/hooks/hooks.go 68.96% 4 Missing and 5 partials ⚠️
cmd/cmd_utils.go 86.66% 2 Missing and 2 partials ⚠️
internal/exec/workflow_utils.go 50.00% 2 Missing and 2 partials ⚠️
pkg/condition/cel.go 92.15% 2 Missing and 2 partials ⚠️
pkg/workflow/executor.go 88.88% 3 Missing and 1 partial ⚠️
pkg/schema/condition.go 66.66% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2689      +/-   ##
==========================================
+ Coverage   80.65%   80.66%   +0.01%     
==========================================
  Files        1531     1534       +3     
  Lines      145012   145222     +210     
==========================================
+ Hits       116960   117146     +186     
- Misses      21490    21493       +3     
- Partials     6562     6583      +21     
Flag Coverage Δ
unittests 80.66% <88.22%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/hooks/hook.go 92.85% <100.00%> (+0.85%) ⬆️
pkg/utils/yaml_utils.go 89.78% <ø> (ø)
pkg/schema/condition.go 60.00% <66.66%> (-36.79%) ⬇️
cmd/cmd_utils.go 67.03% <86.66%> (+0.39%) ⬆️
internal/exec/workflow_utils.go 67.11% <50.00%> (-0.70%) ⬇️
pkg/condition/cel.go 92.15% <92.15%> (ø)
pkg/workflow/executor.go 85.63% <88.88%> (+0.09%) ⬆️
pkg/condition/condition.go 94.26% <94.26%> (ø)
pkg/hooks/hooks.go 80.86% <68.96%> (-0.91%) ⬇️
pkg/condition/evaluate.go 86.82% <86.82%> (ø)

... and 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

Warning

Release Documentation Required

This PR is labeled minor or major and requires documentation updates:

  • Changelog entry - Add a blog post in website/blog/YYYY-MM-DD-feature-name.mdx
  • Roadmap update - Update website/src/data/roadmap.js with the new milestone

Alternatively: If this change doesn't require release documentation, remove the minor or major label.

@aknysh
Andriy Knysh (aknysh) merged commit 15be972 into main Jul 5, 2026
78 of 79 checks passed
@aknysh
Andriy Knysh (aknysh) deleted the osterman/cel-when-expressions branch July 5, 2026 10:10
@atmos-pro

atmos-pro Bot commented Jul 5, 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 5, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

These changes were released in v1.223.0-rc.3.

This branch was successfully deployed

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

Labels

minor New features that do not break anything size/l Large size PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants