Skip to content

chore(seed): update all seed snapshots - #17663

Open
thesandlord wants to merge 1 commit into
mainfrom
update-all-seed
Open

chore(seed): update all seed snapshots#17663
thesandlord wants to merge 1 commit into
mainfrom
update-all-seed

Conversation

@thesandlord

@thesandlord thesandlord commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Auto-generated combined seed update PR.
Trigger: push from branch: main.
Workflow run: https://github.com/fern-api/fern/actions/runs/33911546097


Devin Review

@thesandlord thesandlord added the seed Updates to seed tests label Sep 4, 2026
@thesandlord
thesandlord enabled auto-merge (squash) September 4, 2026 19:48

@nitpickybot nitpickybot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AI Review Summary

Auto-generated seed snapshot PR adding the auto-generate-idempotency-key Go SDK fixture. Code is generator output and looks consistent with existing seed snapshots. One dead-code smell worth noting upstream: core.SetIdempotencyKeyHeader/GenerateIdempotencyKey are defined but the diff shows nothing wiring them into the request path (IdempotentRequestOptions.ToHeader only sets the key when explicitly supplied), which would defeat the point of the new feature.

  • 🟡 1 warning(s)
  • 🔵 1 suggestion(s)

To request another review, comment /ai-review on this pull request.

Comment on lines +63 to +67
func (i *IdempotentRequestOptions) ToHeader() http.Header {
header := i.RequestOptions.ToHeader()
if i.IdempotencyKey != "" {
header.Set("Idempotency-Key", fmt.Sprintf("%v", i.IdempotencyKey))
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 warning

ToHeader only sets Idempotency-Key when the user supplied one — nothing here calls SetIdempotencyKeyHeader. For a fixture named auto-generate-idempotency-key, that looks like the auto-generation path is never actually exercised (the helpers in core/idempotency.go appear unused). Worth verifying the generator wires SetIdempotencyKeyHeader(header) in before returning.

Comment on lines +31 to +38
opts ...FileParamOption,
) *FileParam {
return &FileParam{
Reader: reader,
filename: filename,
contentType: contentType,
}
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 suggestion

opts ...FileParamOption is accepted but never applied, so go vet/linters may flag the unused parameter and callers get silent no-ops. Fine if intentional as an extensibility hook, but a _ = opts or a comment would make it explicit.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

seed Updates to seed tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant