Skip to content

Bump framework pin to d4ab1e9 - #48

Merged
NWarila merged 1 commit into
mainfrom
chore/bump-framework-d4ab1e9
Jul 20, 2026
Merged

Bump framework pin to d4ab1e9#48
NWarila merged 1 commit into
mainfrom
chore/bump-framework-d4ab1e9

Conversation

@NWarila

@NWarila NWarila commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Picks up the two fixes made while working on the-hero-wars-guys. This runner is currently two commits behind and has no destroy guard — while holding org-admin credentials for 21 repositories.

PR Fix
nwarila-platform/github-terraform-framework#94 assembly guard used compgen -G, which skips dotfiles — a definitions directory containing only dotfiles read as empty and its repositories silently stopped being declared
nwarila-platform/github-terraform-framework#95 destroy guard: refuses genuine deletion (archive_on_destroy=false) and refuses archiving a repository that was not deliberately archived first, while still allowing a deliberate retirement to complete

Was this runner exposed to #94?

Not in practice — terraform/public/ holds 19 non-dotfile YAMLs, so the guard passed.

It was closer than that sounds. terraform/private/ contains only .gitkeep, so it reads as empty under the old guard, and it is safe only because the S3 fetch populates that directory before assembly runs. A change to that step ordering, or moving the last public definition, would have exposed it.

Acceptance

  • Real-state plan on merge is unchanged — expected No changes, since this is CI-only
  • Destroy guard reports "No repository destroys in this plan"

Picks up the two fixes made while working on the-hero-wars-guys:

  #94  the assembly guard used compgen -G, which skips dotfiles, so a
       definitions directory containing only dotfiles read as empty and its
       repositories silently stopped being declared.

  #95  a destroy guard: refuses a genuine deletion (archive_on_destroy=false)
       and refuses to archive a repository that was not deliberately archived
       first, while still allowing a deliberate retirement to complete.

This runner was not hit by #94 because terraform/public/ holds 19 non-dotfile
YAMLs. It was closer than that sounds, though: terraform/private/ contains only
.gitkeep, so it reads as empty under the old guard, and it is only safe because
the S3 fetch populates that directory before assembly runs. A change to that
ordering, or a move of the last public definition, would have exposed it.

More to the point, this runner had no destroy guard at all - and it is the one
holding org-admin credentials for 21 repositories.
@NWarila
NWarila merged commit bca0709 into main Jul 20, 2026
1 check passed
@NWarila
NWarila deleted the chore/bump-framework-d4ab1e9 branch July 20, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant