Skip to content

Bump github.com/open-policy-agent/opa from 0.66.0 to 0.67.0 - #659

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/open-policy-agent/opa-0.67.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/open-policy-agent/opa-0.67.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 28, 2024

Copy link
Copy Markdown
Contributor

Bumps github.com/open-policy-agent/opa from 0.66.0 to 0.67.0.

Release notes

Sourced from github.com/open-policy-agent/opa's releases.

v0.67.0

This release contains a mix of features, a new builtin function (strings.count), performance improvements, and bugfixes.

Breaking Change

Request Body Size Limits

OPA now automatically rejects very large requests (#6868) authored by @​philipaconrad. Requests with a Content-Length larger than 128 MB uncompressed, and gzipped requests with payloads that decompress to larger than 256 MB will be rejected, as part of hardening OPA against denial-of-service attacks. Previously, a large enough request could cause an OPA instance to run out of memory in low-memory sidecar deployment scenarios, just from attempting to read the request body into memory.

These changes allow improvements in memory usage for the OPA HTTP server, and help OPA deployments avoid some accidental out-of-memory situations.

For most users, no changes will be needed to continue using OPA. However, to control this behavior, two new configuration keys are available: server.decoding.max_length and server.decoding.gzip.max_length. These control the max size in bytes to allow for an incoming request payload, and the maximum size in bytes to allow for a decompressed gzip request payload, respectively.

Here's an example OPA configuration using the new keys:

# Set max request size to 64 MB and max gzip size (decompressed) to be 128 MB.
server:
  decoding:
    max_length: 67108864
    gzip:
      max_length: 134217728

Topdown and Rego

  • topdown: New strings.count builtin which returns the number of non-overlapping instances of a substring in a string (#6827) authored by @​Manish-Giri
  • format: Produce error when --rego-v1 formatted module has rule name conflicting with keyword (#6833) authored by @​johanfylling
  • topdown: Add cap to caches for regex and glob built-in functions (#6828) authored by @​johanfylling. This fixes possible memory leaks where caches grow uncontrollably when large amounts of regexes or globs are generated or originate from the input document.

Runtime, Tooling, SDK

  • repl: Add support for correctly loading bundle modules (#6872) authored by @​ashutosh-narkar
  • plugins/discovery: Allow un-registration of discovery listener (#6851) authored by @​mjungsbluth. The discovery plugin allows OPA to register a bundle download status listener but previously did not offer a method to unregister that listener
  • plugins/logs: Reduce amount of work performed inside global lock in decision log plugin (#6859) authored by @​johanfylling
  • plugins/rest: Add a new client credential attribute to support Azure Workload Identity. This would allow workloads deployed on an Azure Kubernetes Services (AKS) cluster to authenticate and access Azure cloud resources (#6802) authored by @​ledbutter
  • cmd/inspect: Add ability for opa inspect to inspect a single file outside of any bundle (#6873) authored by @​tjons
  • cmd+bundle: Add --follow-symlinks flag to the opa build command to allow users to build directories with symlinked files, and have the contents of those symlinked files included in the built bundle (#6800) authored by @​tjons
  • server: Add missing handling in the server for the explain=fails query value (#6886) authored by @​acamatcisco

Docs, Website, Ecosystem

  • docs: Update bundle section with an example of a manifest with rego_version and file_rego_versions attributes (#6885) authored by @​ashutosh-narkar
  • docs: Better link language SDKs to make them more discoverable (#6866) authored by @​charlieegan3

Miscellaneous

... (truncated)

Changelog

Sourced from github.com/open-policy-agent/opa's changelog.

0.67.0

This release contains a mix of features, a new builtin function (strings.count), performance improvements, and bugfixes.

Breaking Change

Request Body Size Limits

OPA now automatically rejects very large requests (#6868) authored by @​philipaconrad. Requests with a Content-Length larger than 128 MB uncompressed, and gzipped requests with payloads that decompress to larger than 256 MB will be rejected, as part of hardening OPA against denial-of-service attacks. Previously, a large enough request could cause an OPA instance to run out of memory in low-memory sidecar deployment scenarios, just from attempting to read the request body into memory.

These changes allow improvements in memory usage for the OPA HTTP server, and help OPA deployments avoid some accidental out-of-memory situations.

For most users, no changes will be needed to continue using OPA. However, to control this behavior, two new configuration keys are available: server.decoding.max_length and server.decoding.gzip.max_length. These control the max size in bytes to allow for an incoming request payload, and the maximum size in bytes to allow for a decompressed gzip request payload, respectively.

Here's an example OPA configuration using the new keys:

# Set max request size to 64 MB and max gzip size (decompressed) to be 128 MB.
server:
  decoding:
    max_length: 67108864
    gzip:
      max_length: 134217728

Topdown and Rego

  • topdown: New strings.count builtin which returns the number of non-overlapping instances of a substring in a string (#6827) authored by @​Manish-Giri
  • format: Produce error when --rego-v1 formatted module has rule name conflicting with keyword (#6833) authored by @​johanfylling
  • topdown: Add cap to caches for regex and glob built-in functions (#6828) authored by @​johanfylling. This fixes possible memory leaks where caches grow uncontrollably when large amounts of regexes or globs are generated or originate from the input document.

Runtime, Tooling, SDK

  • repl: Add support for correctly loading bundle modules (#6872) authored by @​ashutosh-narkar
  • plugins/discovery: Allow un-registration of discovery listener (#6851) authored by @​mjungsbluth. The discovery plugin allows OPA to register a bundle download status listener but previously did not offer a method to unregister that listener
  • plugins/logs: Reduce amount of work performed inside global lock in decision log plugin (#6859) authored by @​johanfylling
  • plugins/rest: Add a new client credential attribute to support Azure Workload Identity. This would allow workloads deployed on an Azure Kubernetes Services (AKS) cluster to authenticate and access Azure cloud resources (#6802) authored by @​ledbutter
  • cmd/inspect: Add ability for opa inspect to inspect a single file outside of any bundle (#6873) authored by @​tjons
  • cmd+bundle: Add --follow-symlinks flag to the opa build command to allow users to build directories with symlinked files, and have the contents of those symlinked files included in the built bundle (#6800) authored by @​tjons
  • server: Add missing handling in the server for the explain=fails query value (#6886) authored by @​acamatcisco

Docs, Website, Ecosystem

  • docs: Update bundle section with an example of a manifest with rego_version and file_rego_versions attributes (#6885) authored by @​ashutosh-narkar
  • docs: Better link language SDKs to make them more discoverable (#6866) authored by @​charlieegan3

... (truncated)

Commits
  • b62ae6b Prepare v0.67.0 release
  • bec8e1a build(deps): bump github/codeql-action from 3.25.13 to 3.25.14 (#6888)
  • d48fdd9 server: Add missing handling for explain=fails to the REST API.
  • 959f9e5 docs: Add an example of a manifest with attribute
  • a793f27 repl: Add support for correctly loading bundle modules
  • c5706ee server+util: Limit max request sizes, prealloc request buffers (#6868)
  • 0ca35e2 build(deps): bump docker/setup-buildx-action from 3.4.0 to 3.5.0 (#6880)
  • f9ccb66 build(deps): bump github/codeql-action from 3.25.12 to 3.25.13 (#6881)
  • 0db1f8f build(deps): bump docker/setup-qemu-action from 3.1.0 to 3.2.0 (#6882)
  • ac3ddf9 docs: Update generated CLI docs
  • 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/open-policy-agent/opa](https://github.com/open-policy-agent/opa) from 0.66.0 to 0.67.0.
- [Release notes](https://github.com/open-policy-agent/opa/releases)
- [Changelog](https://github.com/open-policy-agent/opa/blob/main/CHANGELOG.md)
- [Commits](open-policy-agent/opa@v0.66.0...v0.67.0)

---
updated-dependencies:
- dependency-name: github.com/open-policy-agent/opa
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot requested a review from a team as a code owner July 28, 2024 00:34
@dependabot dependabot Bot added the minor New features that do not break anything label Jul 28, 2024
@dependabot
dependabot Bot requested a review from a team as a code owner July 28, 2024 00:34
@dependabot dependabot Bot added the no-release Do not create a new release (wait for additional code changes) label Jul 28, 2024
@dependabot @github

dependabot Bot commented on behalf of github Jul 28, 2024

Copy link
Copy Markdown
Contributor Author

The following labels could not be found: dependencies, go.

@dependabot @github

dependabot Bot commented on behalf of github Aug 11, 2024

Copy link
Copy Markdown
Contributor Author

Superseded by #667.

@dependabot dependabot Bot closed this Aug 11, 2024
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/open-policy-agent/opa-0.67.0 branch August 11, 2024 00:32
Erik Osterman (Cloud Posse) (osterman) added a commit that referenced this pull request Jun 29, 2026
… all spinners

Atmos has many independent spinners (emulator, vendoring, terraform output/mirror,
toolchain, auth, AI, version). They redraw at the bubbles default (~10/sec); when
recording VHS demos that many redraws of off-camera spinners scroll enough to trip
VHS's scrollback handling (charmbracelet/vhs#657/#659) and hang the recording.

Add a shared leaf helper pkg/ui/spinnerfps: Apply(&model) slows a spinner's redraw
rate to ATMOS_SPINNER_FPS when set (capped at 60), and is a no-op otherwise. Wire
it into every spinner construction site. It only changes the FPS — each spinner
keeps its distinct kind (Dot vs the default Line) and style; the default rate is
unchanged for normal interactive use. The landing `demo record` command sets
ATMOS_SPINNER_FPS=4 for recordings only.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Andriy Knysh (aknysh) added a commit that referenced this pull request Jun 30, 2026
* feat(website): refresh landing page and beta sidebar

* chore: remove stray debug_plan_diff_windows.md scratch file

This debugging scratch note was accidentally committed at the repo root
in unrelated PR #1530 (error-wrapping fix) and has lived on main since.
It is open WIP investigation notes (hypotheses + next steps), not a
resolved write-up, and per CLAUDE.md scratch/research files must not be
committed.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* feat: add emulator workflows and skill catalog updates

* fix(ci): regenerate snapshots, harden vhs tape matrix, reuse docs S3 for landing demos

- Regenerate golden snapshots for the `platform` custom command + name_template
  change in examples/demo-stacks/atmos.yaml (atmos --help, describe config[-f yaml]).
- vhs.yaml: exclude demo/landing/** (owned by landing-demos.yaml), use grep -vE for
  style/defaults exclusion, and collapse the tape list to a single line so multiple
  changed tapes no longer produce an invalid multi-line $GITHUB_OUTPUT.
- landing-demos.yaml: publish renders to the same origin bucket + OIDC role the docs
  site already uses (website-deploy-prod.yml) under /img/demos, instead of a separate
  ATMOS_DEMOS_S3_URI/AWS_DEMOS_PUBLISH_ROLE; gated to manual dispatch.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix: address CodeRabbit review findings in cmd/pkg/internal

Apply findings from a segmented CodeRabbit CLI review of the branch:

- auth/identity: honor explicit identity-disable before stack-default
  lookup; handle GetDefaultIdentity errors instead of swallowing them.
- emulator backends: normalize host-only endpoints and disable auth for
  GCS/Azurite emulator clients (no ADC/real-cloud fallback).
- workflow: clear stale 'stack' flag between steps (executor + utils).
- ai skills marketplace: honor --as (CustomName) for bundled installs;
  surface broken bundled SKILL.md instead of hiding as not-found; use
  directory name as stable skill ID; avoid copying into a dirty dir.
- list dependencies: collision-safe node IDs; preserve empty relationship
  arrays; treat 'dependencies.components: []' as authoritative.
- misc: fail-closed ATMOS_FORCE_TTY; unhealthy status no longer renders
  healthy; expand Podman port ranges; enforce kubeconfig readiness
  timeout per retry; guard custom-command templates against re-rendering
  user-supplied args (injection).

Also ignore *.ascii scratch captures (e.g. stray out.ascii).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* docs(changelog): announce list dependencies, flag-aware custom commands, offline AI skills; wire landing-demo S3 publish

Video pipeline:
- s3-deploy-with-charset.sh: exclude img/demos/* from the --delete sync so
  landing-demo videos (published out-of-band by landing-demos.yaml to the same
  docs-origin bucket) survive every website deploy.
- landing-demos.yaml: render+publish now run on the `landing-demos` PR label AND
  manual dispatch (the job-level if already scopes to those two triggers).

Changelog (minor label) — 3 new blog posts + emulator fold-in + 4 roadmap milestones:
- list-dependencies: new `atmos list dependencies` tree command.
- flag-aware-custom-commands: {{ .Flags.* }} + templated table/stage steps.
- offline-ai-skill-catalog: skills embedded in the binary, offline install,
  merged available-vs-installed `atmos ai skill list`.
- introducing-emulators: appended `atmos emulator list` + emulator-aws/emulator-k8s examples.
- roadmap.js: milestones under Discoverability, Workflows, Developer Experience,
  and Container Composition (progress 63 -> 67).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix: address CodeRabbit findings in demo/website/examples

Segmented CodeRabbit CLI review of demo/, website/, examples/ (31 findings,
28 fixed, 3 flagged as intentional/needs-assets):

website:
- fail fast when ATMOS_DEMOS_BASE_URL is unset in production builds
- consistent /examples payload shape (featured/tags on missing-source path)
- dedup experimental features by route (docs) not label
- a11y: tooltip on keyboard focus; watermark visibility:hidden; reduced-
  motion video; 100dvh hero
- docs: note emulator in backend-catalog inheritance + config-driven type

examples:
- normalize machine-local absolute paths in demo-stacks/component.yaml
- keep follow-on commands stack-scoped; drop removed describe flags
- emulator-k8s: publish ingress port; idempotent kubectl delete; pin
  ConfigMap namespace; trap-based teardown; drop empty kubeconfig_path

demo/landing:
- clean both docker+podman runtimes; gate runtime preflight to emulator
  tapes; fix README tape inventory; split dev/prod identity+secret bindings
- tapes: drop trailing PS1 space (keep bare Wait /❯$/); hide secret entry
  off-camera; always tear down emulator on failure; stop masking real
  failures; assert apply success via sentinel

Flagged (not changed): self-hosting Geist font (needs binary assets);
emulators.tape '|| true' (intentional k3s CI tolerance); bucket=SSM
fixture (intentional Floci convention, matches examples/emulator-aws).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(website): don't require ATMOS_DEMOS_BASE_URL for production builds

The production build threw "ATMOS_DEMOS_BASE_URL must be set for production
builds", failing website-deploy-preview (and prod). That guard contradicts the
demo-video architecture: landing-demo videos are published to the same
docs-origin S3 bucket under /img/demos/ and served same-origin by DemoVideo's
local fallback, so demosBaseUrl is intentionally empty. Restore the simple
`process.env.ATMOS_DEMOS_BASE_URL || ''` fallback — set the env var only to
point at a separate CDN/host.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* feat(website): show component-level tool dependencies in landing Toolchain tab

Update the EnvAsConfig "Toolchain" example to demonstrate per-component tool
version pinning (dependencies.tools in a stack catalog file) instead of the
top-level toolchain registry block — a more representative "config as code"
example for the landing page.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* docs(readme): rewrite around the "runtime for infrastructure" positioning

Align the README with the new landing-page messaging. Rewrite the description
and introduction in README.yaml (the build-harness source) and regenerate
README.md via `atmos docs generate readme`.

- Lead with "Run your infrastructure anywhere" / open-source runtime that
  builds, authenticates, and ships Terraform, Kubernetes, and containers the
  same way on a laptop, in CI, and with agents.
- New sections mirroring the landing page: batteries-included runtime, run
  anything the same way, laptop == CI, built for agents (skills + MCP),
  extensibility. Preserve badges, Codespaces, use cases, telemetry, docs, and
  build-harness footer scaffolding.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* test(snapshots): regenerate describe config goldens for updated platform example

The demo-stacks `platform` custom-command example now scopes its table commands
with `-s {{ .Flags.stack }}` (and `--affected`). Regenerate the two describe
config stdout snapshots to match; no behavior change.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* test(ai/skill): drain captured stdout concurrently to fix Windows pipe deadlock

TestListCmd_DetailedOutput hung for 40m on Windows CI. captureStdout redirected
os.Stdout to an os.Pipe but only read from it AFTER fn() returned, so once the
detailed listing of the bundled ~22-skill catalog exceeded the OS pipe buffer
(~64KB on Windows), fmt.Printf blocked forever on the full pipe.

Drain the read end in a goroutine before running fn(), then close the writer
and wait for the copy to finish. The os.Stdout restore stays in a defer so it
runs even if fn() aborts.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* test: raise patch coverage for new list-dependencies, custom-command, emulator, and skills code

Codecov flagged the PR's patch coverage below target. Add focused unit tests
(no source changes) for the new code:

- pkg/list/dependencies: cover structured (JSON/YAML, forward/reverse/both,
  refsFor sorting + missing-node skip, empty-array-vs-absent contract) and the
  extraction precedence (dependencies.components authoritative over legacy
  settings.depends_on, file/folder filtering, NodeID collision-safety) → 92.5%.
- cmd: cover processCustomCommandWorkflowStepTemplates ({{ .Flags.* }} +
  templated table/stage fields) and escapeUserTemplateMarkers.
- pkg/component/emulator: statusDot (0→100%) and the TTY renderEmulatorList path.
- pkg/emulator: tryKubeconfig error branches + firstBoundPort (→100%).
- pkg/container: parsePodmanPort/parsePodmanPorts/jsonFieldInt (0→~100%).
- pkg/ai/skills/marketplace: bundled offline-install + available-vs-installed
  listing paths.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(link-check): exclude flaky google-gemini/gemini-cli GitHub deep-links

The markdown link-check failed on a transient 502 Bad Gateway from GitHub for
https://github.com/google-gemini/gemini-cli/blob/main/docs/cli/tutorials/mcp-setup.md
(referenced in docs/prd/atmos-ai-local-providers.md). The page is valid and
returns 200 in a browser — GitHub's gateway intermittently 502s these deep-links
in CI. Exclude the repo, matching the existing pattern for other intermittent-502
sites (tldp.org, luigi.readthedocs.io). Verified locally: the file now reports
0 link errors.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(emulator): use IPv4 loopback for endpoints so CI Docker doesn't hang

The emulator endpoint defaulted to "localhost", which on Linux Docker (GitHub
Actions runners) resolves to IPv6 ::1 while the container port is published on
IPv4 0.0.0.0 only. A connect to ::1 against an IPv4-only published port hangs
rather than refusing, so Terraform's AWS SDK stalled until timeout — the
landing-demos render pipeline hung ~6 min on `terraform init`. Docker Desktop
masks this locally by also binding [::].

Rewrite loopback/wildcard hosts (localhost/::1/::/0.0.0.0) to the IPv4 literal
127.0.0.1 in Endpoint.URL/Authority (covers aws/vault/gcp/azure/registry and the
!emulator YAML function) and in the k3s kubeconfig server URL. Real hostnames
pass through. Container-internal health checks keep localhost.

Also:
- ci(landing-demos): pin the recording toolchain — vhs v0.11.0 + ffmpeg 8.1.1 via
  the demo command's dependencies.tools (auto-installed, no checked-in
  .tool-versions); pin ttyd 1.7.7 and FiraCode Nerd Font v3.4.0; drop the
  unpinnable apt/go-install steps.
- ci(website-preview): serve landing demo videos from the public prod CDN
  (ATMOS_DEMOS_BASE_URL) so preview players aren't blank.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(container): mirror Docker Hub in k3s CI and retry transient image pulls

The k3s/demo-helmfile job failed pulling rancher/k3s from registry-1.docker.io
(context deadline exceeded — anonymous Docker Hub rate limit / network blip).
Two complementary fixes:

- ci(test.yml): route the k3s job's Docker Hub pulls through Google's
  mirror.gcr.io pull-through cache (daemon registry-mirror). Transparent and
  runner-local, so the example's docker-compose.yml stays unchanged.
- container: harden image pulls with the shared Atmos retry executor
  (pkg/retry.WithPredicate). New pkg/container/pull.go wraps runtime.Pull with
  exponential backoff + jitter, retrying only transient registry/network errors
  (timeouts, connection resets, 429, 5xx) while failing fast on terminal errors
  (not found, unauthorized, invalid reference). All container.Up/ephemeral/
  sandbox pull sites use it, so emulators inherit the retry behavior.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(mock): retry atmos test to ride out transient provider-registry 502s

The mock job's `atmos test` for examples/demo-context failed when `terraform
init` fetched the cloudposse/context provider signature and github.com returned
a transient 502 Bad Gateway (Terraform's own 2 retries weren't enough). Atmos
shells out to terraform, so it can't inject into terraform's provider
downloader — wrap the step in a 3-attempt retry (15s backoff) for both the
bash (linux/macos) and pwsh (windows) steps. A genuine test failure still fails
on the final attempt.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(debug): add landing-demos-debug workflow to diagnose the dx terraform init hang

Throwaway, dispatch-only harness. Reproduces demo/landing/dx.tape's off-camera
`atmos terraform init s3-bucket -s dev` as RAW shell (no VHS), bounded by a 160s
timeout so it fails fast instead of the tape's 360s. Captures Atmos + Terraform
TRACE logs (ATMOS_LOGS_FILE / TF_LOG_PATH) plus docker port/logs, a curl probe of
the emulator endpoint, getent/ss, and env to files, and uploads them as an
artifact (always). Lets us pinpoint the hang (provider download vs unreachable
emulator endpoint vs in-process Atmos step) and rule out VHS vs the CI/Docker
environment. Remove once diagnosed.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(debug): trigger landing-demos-debug via PR label (dispatch needs default branch)

workflow_dispatch is only available once a workflow is on the default branch, so
add a `pull_request: [labeled]` trigger gated on the `landing-demos-debug` label
to run it from the feature branch. Mirrors landing-demos.yaml.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(debug): install terraform in debug harness to test the missing-binary hypothesis

The diagnostic run showed `atmos terraform init` fast-fails (exit 1, no terraform.log,
`command -v terraform` empty) — terraform isn't on the runner, and the landing-demos
render job never installs it (the mock/k3s jobs do). Add the same toolchain install to
the harness and re-run to confirm init then proceeds.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(debug): mkdir diag/ before first atmos call (ATMOS_LOGS_FILE needs the dir)

* fix(ci): install terraform in landing-demos render so dx.tape doesn't hang

Root cause of the deterministic landing-demos render failure (confirmed with the
landing-demos-debug harness): the render job never installed terraform. The dx.tape
runs `atmos terraform init s3-bucket -s dev` against the AWS emulator, and `atmos
terraform` — unlike `atmos helmfile`/`atmos demo record` — expects terraform already
on PATH. With no binary, init fast-fails "executable not found" non-interactively but
HANGS forever under VHS's interactive TTY, so recording timed out after 6 min on the
first tape and the demos never rendered (publish never ran).

Add the toolchain-pinned terraform install (same as the mock/k3s jobs). The debug run
proved init then completes (exit 0, terraform actually runs). The emulator endpoint
itself was always fine — curl got HTTP 200 from the Floci S3 endpoint.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(debug): probe ttyd toolchain install (why ttyd missing while vhs/ffmpeg install)

* ci(debug): use owner/repo@version for ttyd toolchain install probe

* feat(workflow): add `require` step type to assert tools, files, and dirs

New `type: require` workflow/custom-command step (pkg/runner/step/require.go)
that asserts required CLI tools are on PATH and required files/dirs exist before
later steps run, failing fast with a clear error otherwise. Adds the tools/files/
dirs fields to the step schema (pkg/schema task.go/workflow.go), the JSON schema
updates, the ErrRequireStepEmpty / ErrRequirementsNotMet sentinels, and docs.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* feat(auth): honor principal.session_name for aws/assume-role identities

An aws/assume-role identity can now set `principal.session_name` to control the
STS RoleSessionName (sanitized to STS's allowed character set), via a new
resolveRoleSessionName() helper; falls back to the prior derived name when unset.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* fix(demo): restore ttyd to landing record/check toolchain dependencies

ttyd was accidentally dropped from the `record`/`check` commands'
`dependencies.tools` (only vhs+ffmpeg remained), so the landing-demos render
failed with "missing recording tools: ttyd". Re-add `ttyd: "1.7.7"` so it
auto-installs from the Atmos toolchain. Confirmed via landing-demos-debug:
`tsl0922/[email protected]` resolves an aqua binary on Linux/CI (installs to
.tools/bin/tsl0922/ttyd/1.7.7/ttyd); on macOS it has no aqua binary and is
skipped with a warning (brew install ttyd).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(debug): reproduce emulators terraform init hang (aws emulator not up)

* fix(demo): bring up the AWS emulator before the off-camera init in emulators.tape

emulators.tape pre-pulls the AWS provider off-camera with `atmos terraform init
demo` BEFORE starting the AWS emulator (which it does on-camera as the demo
highlight). The demo component runs under the local-aws (aws/emulator) default
identity, so that init needs the AWS emulator running — without it, init fails
(fast non-interactively, but hangs under VHS's interactive TTY) and the render
times out. Start aws in the hidden setup before the init; `atmos emulator up` is
idempotent, so the on-camera `up aws` still shows "up at <endpoint>".

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* ci(debug): probe emulators terraform init with aws UP (still hangs in tape)

* feat(ui): configurable spinner redraw rate (ATMOS_SPINNER_FPS) across all spinners

Atmos has many independent spinners (emulator, vendoring, terraform output/mirror,
toolchain, auth, AI, version). They redraw at the bubbles default (~10/sec); when
recording VHS demos that many redraws of off-camera spinners scroll enough to trip
VHS's scrollback handling (charmbracelet/vhs#657/#659) and hang the recording.

Add a shared leaf helper pkg/ui/spinnerfps: Apply(&model) slows a spinner's redraw
rate to ATMOS_SPINNER_FPS when set (capped at 60), and is a no-op otherwise. Wire
it into every spinner construction site. It only changes the FPS — each spinner
keeps its distinct kind (Dot vs the default Line) and style; the default rate is
unchanged for normal interactive use. The landing `demo record` command sets
ATMOS_SPINNER_FPS=4 for recordings only.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* feat(demo): fail-fast recording — preconditions + per-tape timeout

A wedged tape (a command exits the shell, so VHS waits for a prompt that never
returns) used to burn its full 300-600s WaitTimeout before failing. Two guards in
the `record` command:

- Preconditions: assert a container runtime AND a terraform/tofu binary up front
  for the tapes that need them, so a missing tool fails in milliseconds instead of
  wedging VHS (this is the class of failure we kept hitting).
- Per-tape wall-clock timeout (`timeout`, tunable via ATMOS_DEMO_RECORD_TIMEOUT,
  default 420s): caps any wedge — including VHS-side hangs where the command
  itself succeeds — to minutes, with a clear message pointing at `atmos demo check`.
  Degrades gracefully where no timeout binary exists (macOS without coreutils).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* feat: add terminal output pacing

* feat: add diagnostics event journal

* feat: stream command output to diagnostics

* fix: use k3s api port in harvested kubeconfig

* Add native profile imports for landing demos

* Clean up landing demos and CI snapshots

* Clarify AI skill install sources

* Make MCP startup stack independent

* Fix MCP shutdown and dependency labels

* Make landing demos self-contained

* Update dependency tree output and quick-start stacks

* Document changelog updates and skill list fixes

* Polish landing demos and navbar

* Fix CI uninstall test and landing polish

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Co-authored-by: Andriy Knysh <[email protected]>
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 no-release Do not create a new release (wait for additional code changes)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants