Skip to content

Bump terraform-svchost to v0.2.0#38064

Merged
DanielMSchmidt merged 4 commits intomainfrom
brandonc/bump_svchost_0.2.0
Feb 4, 2026
Merged

Bump terraform-svchost to v0.2.0#38064
DanielMSchmidt merged 4 commits intomainfrom
brandonc/bump_svchost_0.2.0

Conversation

@brandonc
Copy link
Copy Markdown
Contributor

@brandonc brandonc commented Jan 14, 2026

When connected to HCPTF/TFE, terraform-svchost performs some service discovery request, at least two during terraform init. Troublingly, terraform-svchost only attempts one request for each discovery, so any network or service failure can cause CLI errors before plan or apply begins. We've noticed that the vast majoring of these requests succeed in < 100ms, but at scale, many requests per day can hang for various reasons, including temporary internet connection problems or just basic service availability during transition states.

terraform-svchost v0.2.0 adds hedged http requests, attempting the discovery request on a short 1.5s interval for up to 7 times and using the first response having < 500 status.

In practical terms, service discovery will time out after 11 seconds if there is no network response, as it did previously... but the difference is that during this 11 seconds, 7 requests are attempted instead of 1.

Target Release

1.15.0

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

CHANGELOG entry

  • This change is user-facing and I added a changelog entry.
  • This change is not user-facing.

@brandonc brandonc requested review from a team as code owners January 14, 2026 20:49
@brandonc brandonc force-pushed the brandonc/bump_svchost_0.2.0 branch from e20a73a to 0428974 Compare January 14, 2026 20:53
@brandonc brandonc added the 1.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Jan 14, 2026
@brandonc brandonc force-pushed the brandonc/bump_svchost_0.2.0 branch from 59c8c39 to 0428974 Compare January 14, 2026 21:11
@brandonc brandonc removed the 1.14-backport If you add this label to a PR before merging, backport-assistant will open a new PR once merged label Jan 14, 2026
@brandonc brandonc force-pushed the brandonc/bump_svchost_0.2.0 branch from 2fab32a to 0a2f037 Compare January 30, 2026 20:06
@DanielMSchmidt DanielMSchmidt merged commit cb615c3 into main Feb 4, 2026
7 checks passed
@DanielMSchmidt DanielMSchmidt deleted the brandonc/bump_svchost_0.2.0 branch February 4, 2026 08:11
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 7, 2026

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants