Test extension data source against Kernel - #88
Merged
Conversation
IlyaasK
marked this pull request as ready for review
July 11, 2026 17:32
IlyaasK
requested review from
Sayan- and
tnsardesai
and removed request for
Sayan- and
tnsardesai
July 11, 2026 17:32
IlyaasK
force-pushed
the
hypeship/project-data-source-acceptance
branch
from
July 13, 2026 13:35
c3088b7 to
6aa8f7e
Compare
IlyaasK
force-pushed
the
hypeship/extension-data-source-acceptance
branch
2 times, most recently
from
July 13, 2026 14:32
96fc45a to
7002e83
Compare
IlyaasK
force-pushed
the
hypeship/project-data-source-acceptance
branch
from
July 13, 2026 15:39
28fbd5b to
8c8ae34
Compare
IlyaasK
force-pushed
the
hypeship/extension-data-source-acceptance
branch
from
July 13, 2026 15:39
7002e83 to
59c5c08
Compare
IlyaasK
force-pushed
the
hypeship/project-data-source-acceptance
branch
from
July 20, 2026 19:38
8c8ae34 to
73c12a6
Compare
IlyaasK
force-pushed
the
hypeship/extension-data-source-acceptance
branch
from
July 20, 2026 19:38
59c5c08 to
25067e6
Compare
IlyaasK
force-pushed
the
hypeship/project-data-source-acceptance
branch
from
July 21, 2026 14:46
73c12a6 to
8b311fa
Compare
IlyaasK
force-pushed
the
hypeship/extension-data-source-acceptance
branch
from
July 21, 2026 14:46
25067e6 to
62b16f4
Compare
IlyaasK
force-pushed
the
hypeship/project-data-source-acceptance
branch
from
July 21, 2026 18:10
8b311fa to
f771e32
Compare
IlyaasK
force-pushed
the
hypeship/extension-data-source-acceptance
branch
3 times, most recently
from
July 21, 2026 20:15
e779a03 to
ebe2c13
Compare
IlyaasK
force-pushed
the
hypeship/project-data-source-acceptance
branch
2 times, most recently
from
July 27, 2026 19:00
fd04fe6 to
f8d064d
Compare
IlyaasK
force-pushed
the
hypeship/extension-data-source-acceptance
branch
from
July 27, 2026 22:05
ebe2c13 to
fc608d1
Compare
IlyaasK
changed the base branch from
hypeship/project-data-source-acceptance
to
hypeship/extension-durable-metadata
July 27, 2026 22:06
IlyaasK
force-pushed
the
hypeship/extension-durable-metadata
branch
2 times, most recently
from
July 28, 2026 13:28
f35b190 to
0f9ca3b
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d360e8d. Configure here.
Sayan-
approved these changes
Jul 28, 2026
IlyaasK
force-pushed
the
hypeship/extension-durable-metadata
branch
from
July 29, 2026 19:41
0f9ca3b to
1b19253
Compare
IlyaasK
force-pushed
the
hypeship/extension-data-source-acceptance
branch
from
July 29, 2026 19:45
d360e8d to
aa323b3
Compare
IlyaasK
changed the base branch from
hypeship/extension-durable-metadata
to
main
July 29, 2026 19:45
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
kernel_extensionlookup by canonical ID and exact nameWhy this is v0 work
This closes the live coverage gap for the existing v0
kernel_extensiondata source. The fixture is created and deleted through durable SDK operations, with no dependency on the parked Terraform extension resource.Tests
go test -short -timeout=2m ./...go test -race -short -timeout=2m ./internal/datasources/extension ./internal/acctest ./internal/kernelclientgo 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
The live API path was not run locally because
KERNEL_API_KEYandKERNEL_PROJECT_IDare unset. It is available through the manualAcceptanceworkflow and requiresTF_ACC=1,KERNEL_ACC=1,KERNEL_API_KEY, andKERNEL_PROJECT_ID.Intentionally unsupported
Note
Low Risk
Test-only changes against live API in opt-in acceptance runs; no provider runtime or auth logic changes.
Overview
Adds live acceptance tests for the existing
kernel_extensiondata source and registers that package in the manual Acceptance workflow matrix (project ID required).Tests upload a minimal Chrome extension ZIP via the Kernel SDK, then assert
data.kernel_extensionlookups by canonical ID (with explicitproject_id) and by name (provider-default project scope), includingcreated_at,size_bytes, and absence oflast_used_at. A plan-only step checks for an empty follow-up plan.Fixture setup includes recovery by unique name when upload responses are ambiguous, plus cleanup registration and post-test verification that extensions are deleted. Unit tests cover the ZIP fixture shape and recovery behavior (found, not found, server error, empty response).
Reviewed by Cursor Bugbot for commit 8ed2a6c. Bugbot is set up for automated code reviews on this repo. Configure here.