Skip to content

chore: add retries to agent remote to make more reliable#1378

Merged
Frostman merged 1 commit intomasterfrom
dev/frostman/remote-retry
Mar 24, 2026
Merged

chore: add retries to agent remote to make more reliable#1378
Frostman merged 1 commit intomasterfrom
dev/frostman/remote-retry

Conversation

@Frostman
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Sergei Lukianov <me@slukjanov.name>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to make the agent’s “remote apply” mode more reliable by adding a brief delay after starting SSH port-forwarding and retrying gNMI client creation before proceeding.

Changes:

  • Add a 1s wait after starting the SSH port-forwarding tunnel (AutoSSH) before creating the gNMI client.
  • Add retry logic (up to 5 attempts, with 1s delays) around getClient() for gNMI client creation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/agent/agent.go
Comment thread pkg/agent/agent.go
@github-actions
Copy link
Copy Markdown

🚀 Temp artifacts published: v0-96db5fded 🚀

@Frostman Frostman merged commit 116d3f6 into master Mar 24, 2026
20 checks passed
@Frostman Frostman deleted the dev/frostman/remote-retry branch March 24, 2026 18:22
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