Skip to content

chore: sync API types from infrastructure#5160

Merged
avallete merged 3 commits intodevelopfrom
sync/api-types
May 4, 2026
Merged

chore: sync API types from infrastructure#5160
avallete merged 3 commits intodevelopfrom
sync/api-types

Conversation

@supabase-cli-releaser
Copy link
Copy Markdown
Contributor

This PR was automatically created to sync API types from the infrastructure repository.

Changes were detected in the generated API code after syncing with the latest spec from infrastructure.

@supabase-cli-releaser supabase-cli-releaser Bot requested a review from a team as a code owner May 4, 2026 08:48
@avallete
Copy link
Copy Markdown
Member

avallete commented May 4, 2026

@copilot CI error for Lint/Test steps. Fix it.

Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

@copilot CI error for Lint/Test steps. Fix it.

Fixed in commit 5433936. I updated the failing test fixture in internal/backups/list/list_test.go to include the new generated id field in V1BackupsResponse.Backups, which resolves both the Lint typecheck error and Test build failure. Screenshot: N/A (no UI changes in this PR).

Copilot AI requested a review from avallete May 4, 2026 09:09
@coveralls
Copy link
Copy Markdown

coveralls commented May 4, 2026

Coverage Report for CI Build 25311891622

Coverage decreased (-0.02%) to 63.721%

Details

  • Coverage decreased (-0.02%) from the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • 7 coverage regressions across 2 files.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

7 previously-covered lines in 2 files lost coverage.

File Lines Losing Coverage Coverage
internal/utils/git.go 5 57.14%
internal/storage/rm/rm.go 2 80.61%

Coverage Stats

Coverage Status
Relevant Lines: 15662
Covered Lines: 9980
Line Coverage: 63.72%
Coverage Strength: 7.02 hits per line

💛 - Coveralls

@avallete
Copy link
Copy Markdown
Member

avallete commented May 4, 2026

@copilot increase the CI / Lint timeout as suggested:
Run golangci/golangci-lint-action@1e7e51e
Restore cache
Install
run golangci-lint
Writing patch to /tmp/tmp-2301-dBolpiwaknoc/pull.patch
only new issues on pull_request: /tmp/tmp-2301-dBolpiwaknoc/pull.patch
Running [/home/runner/golangci-lint-2.12.1-linux-amd64/golangci-lint config path] in [/home/runner/work/cli/cli] ...
Running [/home/runner/golangci-lint-2.12.1-linux-amd64/golangci-lint config verify] in [/home/runner/work/cli/cli] ...
Running [/home/runner/golangci-lint-2.12.1-linux-amd64/golangci-lint run --new-from-patch=/tmp/tmp-2301-dBolpiwaknoc/pull.patch --new=false --new-from-rev= --new-from-merge-base= --timeout 3m --verbose] in [/home/runner/work/cli/cli] ...
0 issues.

level=info msg="golangci-lint has version 2.12.1 built with go1.26.2 from 9aa24e94 on 2026-05-02T10:12:50Z"
level=info msg="[config_reader] Config search paths: [./ /home/runner/work/cli/cli /home/runner/work/cli /home/runner/work /home/runner /home /]"
level=info msg="[config_reader] Used config file .golangci.yml"
level=info msg="[config_reader] Module name "github.com/supabase/cli""
level=info msg="[goenv] Read go env for 2.152567ms: map[string]string{"GOCACHE":"/home/runner/.cache/go-build", "GOROOT":"/opt/hostedtoolcache/go/1.25.5/x64"}"
level=info msg="[lintersdb] Active 15 linters: [dogsled dupl errcheck gofmt goimports gosec govet ineffassign misspell nakedret staticcheck unconvert unparam unused whitespace]"
level=info msg="[loader] Go packages loading at mode 8767 (compiled_files|deps|exports_file|files|name|imports|types_sizes) took 2m9.548542867s"
level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 38.677885ms"
level=info msg="Memory: 1768 samples, avg is 847.7MB, max is 5628.5MB"
level=info msg="Execution took 3m0.004550549s"
level=info msg="[linters_context/goanalysis] analyzers took 4m35.100992385s with top 10 stages: buildir: 2m55.862164947s, goimports: 14.228650515s, dupl: 13.804293746s, unconvert: 10.202452308s, gosec: 9.638925806s, printf: 4.888674797s, nilness: 3.187326517s, typeindex: 3.106547121s, fact_purity: 2.874183434s, inspect: 2.507289376s"
level=info msg="[runner/exclusion_paths] Skipped 0 issues by pattern "third_party$""
level=info msg="[runner/exclusion_paths] Skipped 0 issues by pattern "builtin$""
level=info msg="[runner/exclusion_paths] Skipped 0 issues by pattern "examples$""
level=info msg="[runner/exclusion_rules] Skipped 0 issues by rules: [Text: "ST1003:", Linters: "staticcheck"]"
level=info msg="[runner/exclusion_rules] Skipped 0 issues by rules: [Path: "third_party$", Linters: "gofmt, goimports"]"
level=info msg="[runner/exclusion_rules] Skipped 0 issues by rules: [Path: "builtin$", Linters: "gofmt, goimports"]"
level=info msg="[runner/exclusion_rules] Skipped 0 issues by rules: [Path: "examples$", Linters: "gofmt, goimports"]"
level=info msg="[runner] Issues before processing: 234, after processing: 0"
level=info msg="[runner] Processors filtering stat (in/out): filename_unadjuster: 234/234, generated_file_filter: 234/234, exclusion_rules: 234/7, nolint_filter: 7/6, cgo: 234/234, path_absoluter: 234/234, invalid_issue: 234/234, path_relativity: 234/234, diff: 6/0, exclusion_paths: 234/234"
level=info msg="[runner] processing took 4.17415ms with stages: nolint_filter: 1.995436ms, exclusion_rules: 989.645µs, generated_file_filter: 829.855µs, path_relativity: 177.512µs, exclusion_paths: 78.629µs, diff: 58.858µs, cgo: 20.028µs, invalid_issue: 9.27µs, path_absoluter: 8.213µs, filename_unadjuster: 2.641µs, sort_results: 1.258µs, max_same_issues: 949ns, source_code: 461ns, fixer: 308ns, max_from_linter: 246ns, severity-rules: 201ns, uniq_by_line: 186ns, path_prettifier: 172ns, max_per_file_from_linter: 143ns, path_shortener: 139ns"
level=info msg="[runner] linters took 59.417308751s with stages: goanalysis_metalinter: 59.413059412s"
level=info msg="File cache stats: 0 entries of total size 0B"
level=error msg="Timeout exceeded: try increasing it by passing --timeout option"

Agent-Logs-Url: https://github.com/supabase/cli/sessions/6319edb6-e630-4c28-bbf2-671e5dac868c

Co-authored-by: avallete <8771783+avallete@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI commented May 4, 2026

@copilot increase the CI / Lint timeout as suggested:
Run golangci/golangci-lint-action@1e7e51e
Restore cache
...

Updated in commit b127cad. I increased the CI lint step timeout in .github/workflows/ci.yml from --timeout 3m to --timeout 5m for golangci-lint-action, based on the timeout failure in run 25310635636. Screenshot: N/A (no UI changes).

@avallete avallete merged commit 893c284 into develop May 4, 2026
15 checks passed
@avallete avallete deleted the sync/api-types branch May 4, 2026 10:51
@supabase-cli-releaser supabase-cli-releaser Bot mentioned this pull request May 4, 2026
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.

3 participants