Add durable proxy acceptance fixtures - #92
Merged
Conversation
IlyaasK
marked this pull request as ready for review
July 11, 2026 18:27
IlyaasK
requested review from
Sayan- and
tnsardesai
and removed request for
Sayan- and
tnsardesai
July 11, 2026 18:27
IlyaasK
force-pushed
the
hypeship/profile-data-source-acceptance
branch
from
July 13, 2026 13:35
18e374c to
f3131d6
Compare
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
from
July 13, 2026 13:35
0d5cd8c to
85aa723
Compare
IlyaasK
force-pushed
the
hypeship/profile-data-source-acceptance
branch
from
July 13, 2026 14:32
f3131d6 to
dcf7b87
Compare
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
from
July 13, 2026 14:32
85aa723 to
9efab09
Compare
IlyaasK
force-pushed
the
hypeship/profile-data-source-acceptance
branch
from
July 13, 2026 15:39
dcf7b87 to
e81feb3
Compare
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
from
July 13, 2026 15:39
9efab09 to
18d0ba6
Compare
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
from
July 20, 2026 19:37
18d0ba6 to
f69c074
Compare
IlyaasK
force-pushed
the
hypeship/profile-data-source-acceptance
branch
from
July 21, 2026 14:46
9148711 to
6d545f6
Compare
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
from
July 21, 2026 14:46
f69c074 to
1d90c74
Compare
IlyaasK
force-pushed
the
hypeship/profile-data-source-acceptance
branch
from
July 21, 2026 18:10
6d545f6 to
acf09bb
Compare
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
3 times, most recently
from
July 21, 2026 20:15
8de340c to
d4fbaf8
Compare
IlyaasK
force-pushed
the
hypeship/profile-data-source-acceptance
branch
from
July 27, 2026 20:01
00082ec to
bfef988
Compare
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
from
July 27, 2026 21:16
d4fbaf8 to
5af11e7
Compare
IlyaasK
force-pushed
the
hypeship/profile-data-source-acceptance
branch
from
July 29, 2026 14:15
bfef988 to
c2d40a7
Compare
Sayan-
approved these changes
Jul 29, 2026
IlyaasK
force-pushed
the
hypeship/proxy-acceptance-fixture
branch
from
July 29, 2026 18:59
5af11e7 to
fb0ef06
Compare
IlyaasK
changed the base branch from
hypeship/profile-data-source-acceptance
to
main
July 29, 2026 18:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why this is v0 work
The
kernel_proxydata source needs a real managed datacenter proxy fixture for live acceptance coverage. These helpers create and clean up that durable fixture without adding a Terraform proxy resource or runtime proxy operations.Tests
go test -short -timeout=2m ./...go test -race -short -timeout=2m ./internal/kernelclient ./internal/acctestgo vet ./...go mod verifygo mod tidy -diffterraform fmt -check -recursive examplesbash scripts/check-markdown-links.shbash scripts/check-docs.shgit diff --checkgofmt -l cmd internalAcceptance status
No live API test is added in this fixture-only PR. The stacked proxy data-source acceptance PR creates the managed datacenter proxy and exercises cleanup.
Intentionally unsupported
Note
Low Risk
Changes are limited to test infrastructure and thin API client wrappers; no provider runtime or auth paths are modified.
Overview
Adds project-scoped proxy create/delete on the provider
kernelclient(mutations use disabled SDK retries, same as other resources) andCleanupProxyacceptance helpers with unit tests for env gates, default vs explicit project, 404-as-clean, deadlines, and delete errors. A reflect test documents thatCheckProxyis intentionally not on the client surface.Also wires live
kernel_profiledata source acceptance (API-created fixture, cleanup + post-cleanup verification) and extends the acceptance workflow matrix to run./internal/datasources/profilewithKERNEL_PROJECT_IDrequired.No Terraform proxy resource or proxy data-source acceptance in this diff; proxy helpers are fixture-only for a follow-on PR.
Reviewed by Cursor Bugbot for commit fb0ef06. Bugbot is set up for automated code reviews on this repo. Configure here.