feat: add available_actions to service-spec templates - #208
Merged
Conversation
Release 1.12.0
Add scheduled task nodeSelector
Move Unreleased entries to the 1.13.0 section dated 2026-07-10: - AWS credentials via assume role - Auto-create ALBs on scope create - Fix IAM role creation race condition on concurrent scope creation - nodeSelector support for scheduled task scopes
Merged
4 tasks
…o the API The service-spec.json.tpl files now include an available_actions field that is not yet handled by the API. Strip this field from the rendered JSON before POSTing to prevent API validation failures if the API rejects unknown properties. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
agustincelentano
previously approved these changes
Aug 3, 2026
…tself The spec and the template disagreed on this one name, and the mismatch is what produced the jq parse error the module hit: the wrong name resolved to a 404 whose body reached the parser as "404: Not Found". The first alignment went the other way, renaming the template to the plural to match the module's old default. The action deletes one instance, so the singular is the right name; the plural only existed because the default said so. Confirmed every entry in available_actions has its template.
The rename to the plural also changed the displayed name. Back to what main has, so the action reads the same as before in the UI.
…-available-actions # Conflicts: # CHANGELOG.md
…actions' into feat/scope-definition-available-actions # Conflicts: # k8s/specs/actions/kill-instance.json.tpl
agustincelentano
approved these changes
Aug 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
available_actionsarray to each scope type'sservice-spec.json.tpl(k8s, azure, azure-aro, scheduled_task), listing exactly the action names that have a template in that scope'sspecs/actions/directory.tofu-modules/nullplatform/scope_definitionto read this list from the spec by default instead of from a hardcoded variable default (follow-up PR intofu-modules).Test plan
gomplate | jqavailable_actionsmatches itsspecs/actions/directory exactly (verified withdiff)