Skip to content

chore(ci): clean up stale ec2 instances#2170

Merged
jfreeland merged 5 commits into
developfrom
chore/cleanup-stale
Jun 12, 2026
Merged

chore(ci): clean up stale ec2 instances#2170
jfreeland merged 5 commits into
developfrom
chore/cleanup-stale

Conversation

@jfreeland

Copy link
Copy Markdown
Contributor

As a complement to #2165, in the short term, while we explore alternative internal tooling, this can act as a low-cost, low-effort last point of defense against lingering instances.

@jfreeland jfreeland requested review from a team as code owners May 26, 2026 15:46
@jfreeland jfreeland force-pushed the chore/cleanup-stale branch from b5e297c to 70fdb8f Compare June 10, 2026 13:54
@blacksmith-sh

blacksmith-sh Bot commented Jun 10, 2026

Copy link
Copy Markdown

Found 50 test failures on Blacksmith runners:

Failures

Test View Logs
test_ami_nix/test_apparmor_allows_basic_sql_and_extensions View Logs
test_ami_nix/test_apparmor_allows_basic_sql_and_extensions View Logs
test_ami_nix/test_apparmor_allows_pg_dump View Logs
test_ami_nix/test_apparmor_allows_pg_dump View Logs
test_ami_nix/test_apparmor_allows_walg View Logs
test_ami_nix/test_apparmor_allows_walg View Logs
test_ami_nix/test_apparmor_blocks_disallowed_shell_commands View Logs
test_ami_nix/test_apparmor_blocks_disallowed_shell_commands View Logs
test_ami_nix/test_apparmor_denies_access_to_sensitive_paths View Logs
test_ami_nix/test_apparmor_denies_access_to_sensitive_paths View Logs
test_ami_nix/test_apparmor_permits_allowlisted_commands View Logs
test_ami_nix/test_apparmor_permits_allowlisted_commands View Logs
test_ami_nix/test_apparmor_postgresql_service_uses_profile View Logs
test_ami_nix/test_apparmor_postgresql_service_uses_profile View Logs
test_ami_nix/test_apparmor_sbpostgres_profile_enforced View Logs
test_ami_nix/test_apparmor_sbpostgres_profile_enforced View Logs
test_ami_nix/test_jit_pam_gatekeeper_profile View Logs
test_ami_nix/test_jit_pam_gatekeeper_profile View Logs
test_ami_nix/test_jit_pam_module_dependencies View Logs
test_ami_nix/test_jit_pam_module_dependencies View Logs
test_ami_nix/test_jit_pam_module_installed View Logs
test_ami_nix/test_jit_pam_module_installed View Logs
test_ami_nix/test_jit_pam_postgresql_integration View Logs
test_ami_nix/test_jit_pam_postgresql_integration View Logs
test_ami_nix/test_libpq5_version View Logs
test_ami_nix/test_libpq5_version View Logs
test_ami_nix/test_pam_postgresql_config View Logs
test_ami_nix/test_pam_postgresql_config View Logs
test_ami_nix/test_postgresql_version View Logs
test_ami_nix/test_postgresql_version View Logs
test_ami_nix/test_postgrest_can_connect_to_db View Logs
test_ami_nix/test_postgrest_can_connect_to_db View Logs
test_ami_nix/test_postgrest_ending_apikey_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_ending_apikey_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_ending_empty_key_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_ending_empty_key_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_is_running View Logs
test_ami_nix/test_postgrest_is_running View Logs
test_ami_nix/test_postgrest_middle_apikey_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_middle_apikey_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_middle_empty_key_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_middle_empty_key_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_read_only_session_attrs View Logs
test_ami_nix/test_postgrest_read_only_session_attrs View Logs
test_ami_nix/test_postgrest_responds_to_requests View Logs
test_ami_nix/test_postgrest_responds_to_requests View Logs
test_ami_nix/test_postgrest_starting_apikey_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_starting_apikey_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_starting_empty_key_query_parameter_is_removed View Logs
test_ami_nix/test_postgrest_starting_empty_key_query_parameter_is_removed View Logs

Fix in Cursor

@jfreeland jfreeland enabled auto-merge June 12, 2026 01:21
@jfreeland jfreeland added this pull request to the merge queue Jun 12, 2026
Merged via the queue into develop with commit 945dfc1 Jun 12, 2026
649 of 652 checks passed
@jfreeland jfreeland deleted the chore/cleanup-stale branch June 12, 2026 02:39
hunleyd added a commit that referenced this pull request Jun 12, 2026
* origin/develop:
  ci: build-ami: Use arch in EXECUTION_ID (#2209)
  chore(ci): clean up stale ec2 instances (#2170)
  testinfra: Fix InstanceType and startup error handling (#2207)
  fix(ci): clean up dangling EBS volumes left by Packer builds (#2165)
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.

2 participants