-
Notifications
You must be signed in to change notification settings - Fork 0
release: 0.2.0 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
665e431
40329ac
2f49e45
5fc2402
07389a5
b7fd553
28b2498
d4f3537
2f69100
61bdeb0
78f8725
d9c0c77
5784e71
ad3cbf1
a95a486
62e382b
2586047
1b5c7e9
fc1ebc7
4a9e250
05fc238
b5836aa
4b76c79
4222549
6ea47ba
9e0c109
522092e
e08b27e
7ee8632
878ee7b
7bd511f
1fb3c19
86e522e
014bf27
f752384
317503c
f8df59b
9a73f60
ca5609b
15efdbc
75c6ac1
4b771ee
357c382
c419250
fb3478d
c983439
14f99ef
95294ce
c472cd1
cde57e6
9eee0f2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ on: | |
| push: | ||
| tags: | ||
| - "v*" | ||
| workflow_dispatch: {} | ||
| jobs: | ||
| goreleaser: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| ".": "0.1.0" | ||
| ".": "0.2.0" | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| configured_endpoints: 30 | ||
| openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell%2Fhyperspell-7d29d0843a52840291678a3c6d136f496ae1f956853abaa5003c1284ca2c94aa.yml | ||
| openapi_spec_hash: 010597ad0ec6376fbf2f01ec062787ad | ||
| config_hash: bd8505e17db740d82e578d0edaa9bfe0 | ||
| openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hyperspell/hyperspell-3ea7819d73f46347d7870c6238e12458921045b6386d6091bffe67906d7a017f.yml | ||
| openapi_spec_hash: 004b15cbe7b318ef25b91f6d45b4cba3 | ||
| config_hash: 597eba5e5eaec83a5f0db3d946af8db5 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,8 +85,12 @@ var tests = map[string]struct { | |
| } | ||
|
|
||
| func TestEncode(t *testing.T) { | ||
| t.Parallel() | ||
|
|
||
| for name, test := range tests { | ||
| t.Run(name, func(t *testing.T) { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding Affected Locations:
🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: In Go < 1.22, 🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: With 🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
|
||
| t.Parallel() | ||
|
|
||
| buf := bytes.NewBuffer(nil) | ||
| writer := multipart.NewWriter(buf) | ||
| writer.SetBoundary("xxx") | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,6 +6,8 @@ import ( | |
| ) | ||
|
|
||
| func TestEncode(t *testing.T) { | ||
| t.Parallel() | ||
|
|
||
| tests := map[string]struct { | ||
| val any | ||
| settings QuerySettings | ||
|
|
@@ -114,6 +116,8 @@ func TestEncode(t *testing.T) { | |
|
|
||
| for name, test := range tests { | ||
| t.Run(name, func(t *testing.T) { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding Affected Locations:
🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding Affected Locations:
🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding Affected Locations:
🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
|
||
| t.Parallel() | ||
|
Comment on lines
118
to
+119
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
Comment on lines
118
to
+119
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding 🤖 AI Agent Prompt for Cursor/Windsurf
Comment on lines
118
to
+119
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Correctness: Adding Affected Locations:
🤖 AI Agent Prompt for Cursor/Windsurf
|
||
|
|
||
| query := map[string]any{"query": test.val} | ||
| values, err := MarshalWithSettings(query, test.settings) | ||
| if err != nil { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correctness: Adding
t.Parallel()inside the range loop without capturingnameandtestinto local variables causes a race condition on Go < 1.22 — all parallel subtests will close over the same loop variables and may execute with incorrect/final-iteration values.🤖 AI Agent Prompt for Cursor/Windsurf