ubicloud/lib
Benjamin Satzger 82b577bb55 Close SSH session on event loop failure
If the event loop for the pulse check fails, close the SSH session
immediately. Otherwise, we run into an issue with Postgres server
pulse checks. These pulse checks rely on forwarding a local socket
through the SSH connection to establish a database connection.
If the SSH connection breaks in certain ways, such as the peer
resets the SSH connection, the pulse check that relies on the database
connection will hang indefinitely. The critical step is calling
`close` on the SSH object. `shutdown!` alone is not sufficient.
2025-10-01 22:28:56 +02:00
..
hosting Remove the unused dist param from Hetzner reset API call 2025-09-12 10:53:44 +03:00
kubernetes Do not silently fail on kubernetes commands 2025-09-02 13:28:07 +02:00
minio Add S3 integration to postgres timeline for backup/restore 2025-06-16 16:28:46 +02:00
validation Allow application_name in PG configs 2025-08-20 15:14:41 +05:30
victoria_metrics Use cert_store in VictoriaMetrics client 2025-06-02 21:11:45 +02:00
access_control_model_tag.rb Add {Action,Object,Subject}Tag#path 2025-08-26 02:08:44 +09:00
authorization.rb Allow authorization methods to accept objects in addition to ids 2025-09-18 02:56:28 +09:00
billing_rate.rb Change rubocop TargetRubyVersion to 3.4 2025-04-26 06:51:19 +09:00
casting_config_helpers.rb Increase Config test coverage and delete unused lines 2023-08-07 01:05:05 +03:00
clog.rb Make clog.rb require sequel/model 2024-11-22 08:42:42 -08:00
cloudflare_client.rb Manage setup/destroy of the repository's blob storage. 2024-06-28 10:06:23 +03:00
clover_error.rb Move DependencyError into its own file 2024-12-31 11:25:47 -08:00
content_generator.rb Use Postgres family options in content generator 2025-07-01 00:24:58 +03:00
dependency_error.rb Move DependencyError into its own file 2024-12-31 11:25:47 -08:00
email_renderer.rb Make EmailRenderer a Roda app using the mailer plugin 2025-02-05 10:16:51 -08:00
free_quota.rb Avoid use of Time.now in FreeQuota 2025-08-29 05:36:50 +09:00
github.rb Separate family and vCPUs in runner label configs 2025-06-11 14:43:10 +03:00
health_monitor_methods.rb Split ResourceMethods, SemaphoreMethods, and HealthMonitorMethods into separate files in lib 2024-12-31 11:25:47 -08:00
invoice_generator.rb Change all create_with_id to create 2025-08-06 01:55:51 +09:00
log_dna_batcher.rb Add tests for LogDnaBatcher 2025-08-02 02:38:39 +03:00
metrics.rb Show softirq usage in PostgreSQL metrics dashboard 2025-07-09 06:14:48 +03:00
metrics_target_methods.rb Use respective service project as metrics storage destination 2025-05-13 12:06:39 +05:30
metrics_target_resource.rb Add VictoriaMetrics.client_for_project and PostgresServer.victoria_metrics_client 2025-09-27 02:10:55 +09:00
monitor_resource_stub.rb Add monitor smoke test 2025-07-30 07:00:03 +09:00
monitor_resource_type.rb Log exception and incr_checkup if Monitor thread fails 2025-09-19 09:31:09 +03:00
monitor_runner.rb Split monitor into testable classes 2025-07-30 07:00:03 +09:00
monitorable_resource.rb Close SSH session on event loop failure 2025-10-01 22:28:56 +02:00
net_addr_sequel.rb Better NetAddr/Sequel integration 2025-06-12 07:32:57 +09:00
option.rb Add i8g instance family to supported AWS options 2025-09-15 19:13:52 +02:00
option_tree_generator.rb Introduce OptionTreeGenerator 2024-12-09 06:30:01 +01:00
pagination.rb Have Pagination#paginated_result take serializer argument 2025-05-20 05:49:38 +09:00
repartitioner.rb Do not allow removing current partition in the repartitioner 2025-08-26 04:32:52 +09:00
resource_methods.rb Support configurable labels for links on admin site 2025-09-04 02:37:23 +09:00
runpod_client.rb Client for RunPod Rest API 2025-05-23 09:28:10 +02:00
sem_snap.rb Make Semaphore.incr use a single query 2025-06-04 05:26:37 +09:00
semaphore_methods.rb Convert SemaphoreMethods to Sequel plugin 2025-07-09 00:42:44 +09:00
ssh_key.rb Fix private key format of SshKey generation 2025-07-14 18:14:37 -07:00
system_parser.rb Change rubocop TargetRubyVersion to 3.4 2025-04-26 06:51:19 +09:00
thread_printer.rb Improve thread dump reporting 2025-01-25 15:44:27 -08:00
ubi_cli.rb Allow ps connect cli to accept location/ps-name for ps-id 2025-08-27 04:12:30 +09:00
util.rb Do not log ignored AWS errors as exceptions 2025-09-27 21:59:23 +03:00
validation.rb Validate minio cluster information before use 2025-09-27 02:10:40 +09:00