Use literal region for AWS secrets janitor #1655

Merged
hongming merged 1 commits from fix/aws-secrets-janitor-literal-region into main 2026-05-21 21:52:07 +00:00
Owner

Summary

  • use literal us-east-2 for the AWS Secrets Manager janitor region
  • avoid Gitea/act_runner secret-expression rendering around ${{ secrets.* || 'fallback' }} for this scheduled job

Why

The first scheduled run after restoring the janitor failed while constructing the Secrets Manager endpoint. The required credentials were present, but the secret-backed region expression produced an invalid endpoint path in the runner. The janitor only targets the staging/canary account in us-east-2, so a literal is simpler and safer.

Tests

  • python3 .gitea/scripts/lint-workflow-yaml.py --workflow-dir .gitea/workflows
  • python3 -m pytest tests/test_lint_workflow_yaml.py -q
  • git diff --check
## Summary - use literal `us-east-2` for the AWS Secrets Manager janitor region - avoid Gitea/act_runner secret-expression rendering around `${{ secrets.* || 'fallback' }}` for this scheduled job ## Why The first scheduled run after restoring the janitor failed while constructing the Secrets Manager endpoint. The required credentials were present, but the secret-backed region expression produced an invalid endpoint path in the runner. The janitor only targets the staging/canary account in `us-east-2`, so a literal is simpler and safer. ## Tests - `python3 .gitea/scripts/lint-workflow-yaml.py --workflow-dir .gitea/workflows` - `python3 -m pytest tests/test_lint_workflow_yaml.py -q` - `git diff --check`
hongming added 1 commit 2026-05-21 21:42:38 +00:00
Use literal region for AWS secrets janitor
Lint shellcheck (arm64 pilot) / shellcheck-arm64 (pilot) (pull_request) Waiting to run
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 9s
CI / Detect changes (pull_request) Successful in 17s
CI / Python Lint & Test (pull_request) Successful in 10s
E2E API Smoke Test / detect-changes (pull_request) Successful in 11s
E2E Chat / detect-changes (pull_request) Successful in 9s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 12s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 6s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 7s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 8s
Lint no tenant GITEA or GITHUB token write / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 3s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Successful in 1m34s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 1m17s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 5s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 1m20s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 4s
gate-check-v3 / gate-check (pull_request) Successful in 4s
qa-review / approved (pull_request) Failing after 3s
security-review / approved (pull_request) Failing after 4s
sop-checklist / review-refire (pull_request) Has been skipped
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request) Successful in 5s
sop-tier-check / tier-check (pull_request) Successful in 4s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 1m7s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 1m21s
CI / Platform (Go) (pull_request) Successful in 2s
CI / Canvas (Next.js) (pull_request) Successful in 2s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2s
E2E Chat / E2E Chat (pull_request) Successful in 2s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 2s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 2s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / all-required (pull_request) Successful in 5m43s
audit-force-merge / audit (pull_request) Successful in 4s
07d3dcd988
hongming merged commit 9981a5099a into main 2026-05-21 21:52:07 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-core#1655