Skip to content

Rewrite terraform app config to be chunk-aware#123

Merged
jnu merged 3 commits intomainfrom
terraform-app-config-chunk
Mar 31, 2025
Merged

Rewrite terraform app config to be chunk-aware#123
jnu merged 3 commits intomainfrom
terraform-app-config-chunk

Conversation

@jnu
Copy link
Copy Markdown
Contributor

@jnu jnu commented Mar 31, 2025

Rewrites the app config in Terraform to account for output window constraints in the parse and redact/inspect steps and apply a limited amount of iteration when truncation is detected.

By default the config will attempt up to 5 iterations to complete the specified task. This limit can be increased by editing the {redact,parse}_chunks_max_iterations variables in the Terraform variables file.

Since this PR relies on the rewritten experimental chunking support that's been available in the app for several weeks, deploying this new Terraform change should not result in any new functions. There will, however, be a regression (turning chunking support off) if a new API image is deployed without running the terraform update.

@jnu jnu force-pushed the terraform-app-config-chunk branch from e4b2a84 to 569de3d Compare March 31, 2025 16:35
@jnu jnu merged commit 10150ed into main Mar 31, 2025
1 check failed
@jnu jnu deleted the terraform-app-config-chunk branch March 31, 2025 16:40
@jnu jnu mentioned this pull request Mar 31, 2025
jnu added a commit that referenced this pull request Mar 31, 2025
Follow up to #123 and #124 to fully deprecate `latest` channel. This
means we will *not* push to `latest` anymore. Untested updates will go
to `unstable` and official version bumps will go to `stable`.

Doing this now has the convenient property of preventing a regression
from unintended image updates without a corresponding terraform update
(as noted in #123).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant