Skip to content

add support for testing peer connectivity - #7

Merged
oxtoacart merged 1 commit into
mainfrom
percy/corp32817
Sep 29, 2025
Merged

add support for testing peer connectivity#7
oxtoacart merged 1 commit into
mainfrom
percy/corp32817

Conversation

@oxtoacart

Copy link
Copy Markdown
Collaborator

The new argument ping allows users to specify a comma-seperated list of hosts (IP or hostname) to ping in order to verify connectivity. Ping is considered successful as soon as the peer is reachable either directly or via DERP.

Updates tailscale/corp#32817

@oxtoacart
oxtoacart changed the base branch from percy/corp31655-constants to main September 29, 2025 14:50
@oxtoacart
oxtoacart force-pushed the percy/corp32817 branch 18 times, most recently from b0d03e0 to b43c5ba Compare September 29, 2025 18:13
Comment thread action.yml
Comment thread dist/index.js
Comment thread src/main.ts Outdated
retry: number;
useCache: boolean;
sha256Sum: string;
ping: string;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be declared as an array of strings instead of a string we have to parse during the execution? It'd be good if the interface matches the desired shape of the inputs as much as possible.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, core.getInput() doesn't support arrays, so the best I can do is move the existing splitting logic to getInputs().

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I moved the parsing into getInputs().

Comment thread src/main.ts Outdated
Comment thread src/main.ts
Comment thread src/main.ts Outdated
The new argument `ping` allows users to specify a comma-seperated list
of hosts (IP or hostname) to ping in order to verify connectivity.
Ping is considered successful as soon as the peer is reachable either
directly or via DERP.

Updates tailscale/corp#32817

Signed-off-by: Percy Wegmann <percy@tailscale.com>
@oxtoacart
oxtoacart merged commit e82608c into main Sep 29, 2025
13 checks passed
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.

3 participants