Skip to content

fix(internal/provider): use new() instead of undefined ptr.Ref in organization test - #435

Merged
ethanndickson merged 2 commits into
mainfrom
fix/organization-test-ptr-import
Sep 14, 2026
Merged

ethanndickson merged 2 commits into
mainfrom
fix/organization-test-ptr-import

Conversation

@ethanndickson

@ethanndickson ethanndickson commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

main has failed lint since #355 merged (87f6ed8):

internal/provider/organization_resource_test.go:169:35: undefined: ptr (typecheck)

#355 was last tested in July against a base where organization_resource_test.go still imported coderd/util/ptr and used ptr.Ref(...) throughout. In the meantime #422 replaced every ptr.Ref(...) in that file with new(...) and dropped the import. The squash-merge had no textual conflict, so it landed with one new ptr.Ref(...) line and no ptr import. #434 then inherited the red main.

This switches the one remaining ptr.Ref([]string{...}) to new([]string{...}), matching the rest of the file.

Also adds a .github/CODEOWNERS with * @ethanndickson.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-14T09:15:27.751743Z 6f5f78f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ethanndickson
ethanndickson merged commit 5b8eee0 into main Sep 14, 2026
13 checks passed
@ethanndickson
ethanndickson deleted the fix/organization-test-ptr-import branch September 14, 2026 13:12
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.

1 participant