Skip to content

fix(autotls): handle context cancellation during sleep intervals in c…#566

Merged
gacevicljubisa merged 4 commits intofeat/p2p-wss-supportfrom
fix/sleeps
Feb 17, 2026
Merged

fix(autotls): handle context cancellation during sleep intervals in c…#566
gacevicljubisa merged 4 commits intofeat/p2p-wss-supportfrom
fix/sleeps

Conversation

@akrem-chabchoub
Copy link
Copy Markdown
Contributor

@akrem-chabchoub akrem-chabchoub commented Feb 17, 2026

No description provided.

@akrem-chabchoub akrem-chabchoub marked this pull request as ready for review February 17, 2026 19:00
@gacevicljubisa gacevicljubisa merged commit 5767299 into feat/p2p-wss-support Feb 17, 2026
3 checks passed
@gacevicljubisa gacevicljubisa deleted the fix/sleeps branch February 17, 2026 20:27
@akrem-chabchoub akrem-chabchoub added this to the 2026 milestone Mar 5, 2026
@akrem-chabchoub akrem-chabchoub self-assigned this Mar 5, 2026
gacevicljubisa added a commit that referenced this pull request Mar 31, 2026
* feat: add new flags

* fix(k8s): ensure p2p-wss service port is created when configured

* chore: add comments to local.yaml

* fix(config): update autotls-registration-endpoint

* feat(autotls): add autotls support with pebble and p2p-forge (#559)

* feat(autotls): add auto tls support in init containers and configuration options

* fix(k8s): fix EnvVar handling by adding hasValues method and improving toK8S conversion

* feat(config): add p2p-wss support and update autotls registration endpoint in configuration files

* chore(config): remove unneeded p2p-wss settings

* feat(autotls): implement autotls check functionality (#560)

* feat(autotls): implement autotls check functionality

* feat(autotls): enhance WSS connectivity checks and update configuration

* feat(autotls): add autotls check in config.yaml

* feat(config): add WSS configuration for local setup

* fix(autotls): ensure context cancellation is handled correctly during WSS connection tests

* fix(autotls): update WSS connectivity test to disconnect everything before connecting

* fix(autotls): add WSS group option and enhance error handling for WSS connectivity

* feat(autotls): add certificate renewal testing options and enhance configuration

* refactor(autotls): simplify certificate renewal options and update related configurations

* fix(autotls): increase certificate renewal wait time to 500 seconds for improved testing

* fix(autotls): extend timeout for certificate renewal to 15 minutes

* feat(autotls): add ultralight group support and connectivity testing

* feat(config): update local.yaml for ultralight configuration and enhance autotls checks

* fix(autotls): re-enable certificate renewal test

* feat(config): add local-dns-autotls and local-light-autotls configura… (#562)

* feat(config): add local-dns-autotls and local-light-autotls configurations
ons.

* chore(config): comment out ultralight configuration

* fix(config): update autotls configs

* fix(autotls): simplify config

* fix: use test cert from constant

* fix(autotls): handle context cancellation during sleep intervals in c… (#566)

* fix(autotls): handle context cancellation during sleep intervals in checks

* feat(autotls): add UnderlayPollInterval option and enhance WSS underlay checks

* refactor(config): reorder struct fields for clarity in check options

* refactor(autotls): simplify options structure and improve WSS underlay checks

* feat(config): add light node configuration for autotls support in local.yaml

* feat(autotls): autotls forge validation (#569)

* feat(autotls): add p2p-forge address validation and certificate renewal verification

* chore: fix lint issue

---------

Co-authored-by: Akrem Chabchoub <121046693+akrem-chabchoub@users.noreply.github.com>
Co-authored-by: akrem-chabchoub <chabchoub.akrem@gmail.com>
akrem-chabchoub added a commit that referenced this pull request Mar 31, 2026
#566)

* fix(autotls): handle context cancellation during sleep intervals in checks

* feat(autotls): add UnderlayPollInterval option and enhance WSS underlay checks

* refactor(config): reorder struct fields for clarity in check options

* refactor(autotls): simplify options structure and improve WSS underlay checks
akrem-chabchoub added a commit that referenced this pull request Mar 31, 2026
#572)

* feat: add new flags

* fix(k8s): ensure p2p-wss service port is created when configured

* chore: add comments to local.yaml

* fix(config): update autotls-registration-endpoint

* feat(autotls): add autotls support with pebble and p2p-forge (#559)

* feat(autotls): add auto tls support in init containers and configuration options

* fix(k8s): fix EnvVar handling by adding hasValues method and improving toK8S conversion

* feat(config): add p2p-wss support and update autotls registration endpoint in configuration files

* chore(config): remove unneeded p2p-wss settings

* feat(autotls): implement autotls check functionality (#560)

* feat(autotls): implement autotls check functionality

* feat(autotls): enhance WSS connectivity checks and update configuration

* feat(autotls): add autotls check in config.yaml

* feat(config): add WSS configuration for local setup

* fix(autotls): ensure context cancellation is handled correctly during WSS connection tests

* fix(autotls): update WSS connectivity test to disconnect everything before connecting

* fix(autotls): add WSS group option and enhance error handling for WSS connectivity

* feat(autotls): add certificate renewal testing options and enhance configuration

* refactor(autotls): simplify certificate renewal options and update related configurations

* fix(autotls): increase certificate renewal wait time to 500 seconds for improved testing

* fix(autotls): extend timeout for certificate renewal to 15 minutes

* feat(autotls): add ultralight group support and connectivity testing

* feat(config): update local.yaml for ultralight configuration and enhance autotls checks

* fix(autotls): re-enable certificate renewal test

* feat(config): add local-dns-autotls and local-light-autotls configura… (#562)

* feat(config): add local-dns-autotls and local-light-autotls configurations
ons.

* chore(config): comment out ultralight configuration

* fix(config): update autotls configs

* fix(autotls): simplify config

* fix: use test cert from constant

* fix(autotls): handle context cancellation during sleep intervals in c… (#566)

* fix(autotls): handle context cancellation during sleep intervals in checks

* feat(autotls): add UnderlayPollInterval option and enhance WSS underlay checks

* refactor(config): reorder struct fields for clarity in check options

* refactor(autotls): simplify options structure and improve WSS underlay checks

* feat(config): add light node configuration for autotls support in local.yaml

* fix: git conflicts

* chore: fix lint issue

* feat(autotls): add support for custom DNS resolver and include Pebble CA certificate

* lint forge test file

* feat(autotls): enhance Pebble CA certificate fetching and direct DNS queries

* chore: update forge DNS address in local configuration

* chore: update forgeDNSAddr in check.go

* chore: enhance DNS resolution handling with custom DNS server support

* chore: remove unnecessary changes related to pebble

* chore: update package imports

* chore: rename ForgeDNSAddr

* feat(autotls): add Forge TLS host address and Pebble management URL support

* fix(autotls): increase certificate renewal wait time to accommodate expiry and check interval

* fix(autotls): extend timeout for certificate renewal process

* fix(autotls): adjust certificate renewal logic and improve logging for clarity

* fix(autotls): refine certificate renewal process with enhanced retry logic and improved snapshot handling

* refator: rm test forge

* feat(autotls): introduce support for multiple AutoTLS groups and add P2P WSS node port configuration

* refactor(autotls): consolidate HTTP client configuration for Pebble management API calls

* fix: lint check.go

* refactor(autotls): encapsulate Pebble management API interactions in a dedicated service

* fix(autotls): enhance logging for certificate snapshot dialing errors

* refactor(autotls): move certificate renewal logic to a dedicated function and improve structure

* docs(autotls): add README for AutoTLS check detailing functionality, configuration, and package layout

* docs(autotls): add sequence diagram to README for better visualization of AutoTLS check process

* chore(config): update local.yaml with new addresses for forge DNS and Pebble management URL

* chore(config): add local usage notes for forge DNS and Pebble management URL in local.yaml

* fix: set timeout for insecure Pebble HTTP client

* chore(config): update local.yaml with valid values for CI

* chore(deps): update go.mod to include new dependencies and indirect packages

---------

Co-authored-by: Ljubisa Gacevic <ljubisa.rs@gmail.com>
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