-
Notifications
You must be signed in to change notification settings - Fork 544
feat: build edit v1beta2 #6694
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: develop
Are you sure you want to change the base?
feat: build edit v1beta2 #6694
Conversation
/review |
1 similar comment
/review |
Code Review Agent Run #fc26e7Actionable Suggestions - 0Additional Suggestions - 12
Filtered by Review RulesBito filtered these suggestions based on rules created automatically for your feedback. Manage rules.
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Changelist by BitoThis pull request implements the following key changes.
|
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.
Code Review Agent Run #c07857
Actionable Suggestions - 46
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/inputmapping.go - 1
- Incorrect quote trimming breaks parsing · Line 20-24
-
vendor/github.com/getkin/kin-openapi/openapi3/schema_formats.go - 1
- Invalid date validation regex pattern · Line 44-44
-
vendor/github.com/getkin/kin-openapi/openapi3/request_body.go - 1
- Incorrect conditional logic in MarshalYAML · Line 97-97
-
vendor/golang.org/x/text/cases/icu.go - 3
- Memory leak from C string allocation · Line 29-29
- Resource leak from unclosed casemap object · Line 30-30
- Memory leak from input C string allocation · Line 34-34
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/operations.go - 2
- Unused function parameter breaks functionality · Line 693-693
- Duplicate template generation in GenerateStrictServer · Line 1034-1042
-
vendor/github.com/getkin/kin-openapi/openapi3/header.go - 1
- Broken serialization method validation logic · Line 68-70
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen/oapi-codegen.go - 1
- Incorrect field used for directory path · Line 375-375
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-middleware.tmpl - 1
- Variable shadowing in error handling · Line 144-144
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-wrappers.tmpl - 2
- Incorrect path parameter extraction method · Line 23-23
- Incorrect JSON path parameter extraction · Line 26-26
-
vendor/golang.org/x/text/internal/language/tables.go - 1
- Missing array index breaks indexing · Line 2063-2064
-
vendor/github.com/getkin/kin-openapi/openapi3/ref.go - 1
- Missing refsgenerator.go file for go:generate · Line 3-3
-
vendor/github.com/getkin/kin-openapi/openapi3/paths.go - 1
- Path conflict detection logic error · Line 65-65
-
vendor/golang.org/x/tools/internal/event/label/label.go - 1
- Deprecated reflect.StringHeader usage · Line 106-106
-
vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/path.go - 1
- Incorrect quote balancing logic in bracketChildNames · Line 285-291
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/utils.go - 1
- Inverted logic in IsGoIdentity function · Line 701-701
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas.go - 1
- Unreachable default value assignment code · Line 138-138
-
vendor/github.com/getkin/kin-openapi/openapi3/schema.go - 4
- Missing return statement in JSONLookup · Line 490-490
- Missing return statement for not case · Line 497-497
- Missing return statement for items case · Line 504-504
- Incorrect field assignment in WithMaxLengthDecodedBase64 · Line 760-760
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/codegen.go - 1
- Early return breaks schema processing · Line 1098-1098
-
vendor/golang.org/x/tools/internal/modindex/modindex.go - 1
- Unreachable error handling condition · Line 67-67
-
vendor/golang.org/x/tools/go/ast/astutil/enclosing.go - 1
- Incorrect closing brace token length · Line 284-284
-
vendor/github.com/getkin/kin-openapi/openapi3/link.go - 1
- Nil pointer dereference in UnmarshalJSON · Line 66-68
-
vendor/github.com/getkin/kin-openapi/openapi3/encoding.go - 2
- Validation errors silently ignored · Line 125-126
- Header validation errors silently ignored · Line 128-129
-
vendor/golang.org/x/text/cases/tables15.0.0.go - 1
- Range overlap in Unicode table · Line 2487-2487
-
vendor/golang.org/x/text/internal/language/compact.go - 1
- ScriptID extraction mask too small · Line 27-27
-
vendor/github.com/getkin/kin-openapi/openapi3/security_scheme.go - 2
- OAuth flow type validation always executes · Line 402-402
- OAuth flow type validation always executes · Line 415-415
-
vendor/github.com/getkin/kin-openapi/openapi3/loader.go - 1
- Incorrect error message variable usage · Line 359-359
-
vendor/github.com/mohae/deepcopy/deepcopy.go - 1
- Infinite recursion in map key copying · Line 118-119
-
vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parse.go - 1
- Incorrect error return value · Line 32-32
-
vendor/golang.org/x/tools/internal/imports/sortimports.go - 2
- Index not adjusted after slice deletion · Line 95-95
- Infinite loop in blank line removal · Line 258-258
-
vendor/github.com/invopop/yaml/.golangci.toml - 2
- Duplicate linter configuration entry · Line 9-9
- Deprecated linter configuration · Line 10-10
-
api/restHandler/BulkUpdateRestHandler.go - 1
- Incorrect error handling in success response · Line 211-211
-
vendor/golang.org/x/tools/internal/stdlib/manifest.go - 1
- Typo in Windows certificate field name · Line 10979-10979
-
vendor/golang.org/x/text/internal/language/lookup.go - 1
- Incorrect ValueError population logic · Line 259-259
-
vendor/golang.org/x/text/internal/language/compact/language.go - 1
- Incorrect return value in RegionalTag method · Line 188-188
-
vendor/golang.org/x/tools/internal/modindex/directories.go - 1
- Incorrect path conversion logic · Line 109-109
Additional Suggestions - 9
-
specs/bulkEdit/v1beta1/schema.json - 1
-
Regex pattern too restrictive · Line 45-45The regex pattern `^[a-z%]+[a-z0-9%\-\?]*[a-z0-9%]+$` requires at least 2 characters, rejecting valid single-character names. Fix to allow single characters: `^[a-z%]+([a-z0-9%\-\?]*[a-z0-9%])?$`
code suggestion
@@ -44,3 +44,3 @@ - "type": "string", - "pattern": "^[a-z%]+[a-z0-9%\\-\\?]*[a-z0-9%]+$" - }, + "type": "string", + "pattern": "^[a-z%]+([a-z0-9%\\-\\?]*[a-z0-9%])?$" + },
-
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-register.tmpl - 1
-
Variable shadowing in anonymous function · Line 35-35Variable shadowing issue: The parameter `r *http.Request` in the anonymous function shadows the router variable `r` defined on line 29. This creates confusion and potential bugs. Rename the parameter to `req` to avoid shadowing.
code suggestion
@@ -35,1 +35,1 @@ - options.ErrorHandlerFunc = func(w http.ResponseWriter, r *http.Request, err error) { + options.ErrorHandlerFunc = func(w http.ResponseWriter, req *http.Request, err error) {
-
-
vendor/golang.org/x/tools/internal/modindex/index.go - 1
-
Incorrect variable in error message · Line 190-190Incorrect variable used in error message. The error message uses `len(v)` but should use `len(flds)` since it's reporting the number of fields parsed from CSV, not the length of the original string. This will provide misleading error information. Change to: `fmt.Errorf("header contains %d fields, not 4: %q", len(flds), v)`
code suggestion
@@ -190,1 +190,1 @@ - return nil, fmt.Errorf("header contains %d fields, not 4: %q", len(v), v) + return nil, fmt.Errorf("header contains %d fields, not 4: %q", len(flds), v)
-
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/loader.go - 1
-
Misleading error message for load operation · Line 96-96The error message incorrectly states 'failed to serialize' when the operation is actually loading/deserializing the overlaid specification. This misleading error message will confuse developers during debugging. Change to 'failed to load Overlay'd specification'.
code suggestion
@@ -96,1 +96,1 @@ - return nil, fmt.Errorf("failed to serialize Overlay'd specification %#v: %v", opts.Path, err) + return nil, fmt.Errorf("failed to load Overlay'd specification %#v: %v", opts.Path, err)
-
-
vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/schema.go - 1
-
Misleading variable name in ToString method · Line 34-34Variable naming error: `decoder` should be `encoder` since `yaml.NewEncoder()` is being used. This misleading name could cause confusion during code maintenance and debugging.
code suggestion
@@ -34,3 +34,3 @@ - decoder := yaml.NewEncoder(buf) - decoder.SetIndent(2) - err := decoder.Encode(o) + encoder := yaml.NewEncoder(buf) + encoder.SetIndent(2) + err := encoder.Encode(o)
-
-
vendor/golang.org/x/tools/internal/event/keys/standard.go - 2
-
Incorrect comment for End variable · Line 14-14Incorrect comment for `End` variable. The comment says "Metric is a key used to indicate an event records metrics" but should describe the End variable instead. Fix: Change to "// End is a key used to indicate an event ends a span."
code suggestion
@@ -14,1 +14,1 @@ - // Metric is a key used to indicate an event records metrics. + // End is a key used to indicate an event ends a span.
-
Incorrect comment for Detach variable · Line 16-16Incorrect comment for `Detach` variable. The comment says "Metric is a key used to indicate an event records metrics" but should describe the Detach variable instead. Fix: Change to "// Detach is a key used to indicate an event detaches a span."
code suggestion
@@ -16,1 +16,1 @@ - // Metric is a key used to indicate an event records metrics. + // Detach is a key used to indicate an event detaches a span.
-
-
vendor/github.com/getkin/kin-openapi/openapi3/internalize_refs.go - 1
-
Incorrect buffer size allocation logic · Line 121-121The `cutDirectories` function incorrectly uses `len(ParameterInHeader)` to grow the string builder buffer. `ParameterInHeader` is a constant string "header" (6 characters), but the function should allocate buffer space based on the path length being processed. This causes inefficient memory allocation and potential performance issues when processing longer paths. Change to `sb.Grow(len(p))` to properly size the buffer.
code suggestion
@@ -121,1 +121,1 @@ - sb.Grow(len(ParameterInHeader)) + sb.Grow(len(p))
-
-
vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/apply.go - 1
-
Unreachable dead code error check · Line 99-99Dead code: Error check on lines 99-101 is unreachable because `p.Query(root)` doesn't return an error, but the code checks `err` which was already handled from the previous `o.NewPath()` call. This creates unreachable code that will never execute.
code suggestion
@@ -99,3 +99,0 @@ - if err != nil { - return err - }
-
Review Details
-
Files reviewed - 265 · Commit Range:
d936815..4fe2e84
- Wire.go
- api/restHandler/BulkUpdateRestHandler.go
- api/restHandler/BulkUpdateRestHandler_ent.go
- api/router/BulkUpdateRouter.go
- api/router/BulkUpdateRouter_ent.go
- go.mod
- go.sum
- hack/tools.go
- internal/sql/repository/chartConfig/ConfigMapRepository.go
- pkg/bulkAction/bean/bean.go
- pkg/bulkAction/repository/BulkEditRepository_ent.go
- pkg/bulkAction/service/BulkUpdateService.go
- pkg/bulkAction/service/BulkUpdateService_ent.go
- pkg/bulkAction/utils/utils.go
- pkg/team/repository/TeamRepository.go
- pkg/team/repository/TeamRepository_ent.go
- scripts/sql/34204000_bulk_edit_config.down.sql
- scripts/sql/34204000_bulk_edit_config.up.sql
- specs/bulkEdit/v1beta1/example.yml
- specs/bulkEdit/v1beta1/schema.json
- tests/pipeline/BulkUpdateService_test.go
- tests/pipeline/ChartService_test.go
- util/HttpUtil.go
- util/context-utils.go
- util/contextUtils.go
- vendor/github.com/dprotaso/go-yit/.gitignore
- vendor/github.com/dprotaso/go-yit/LICENSE
- vendor/github.com/dprotaso/go-yit/README.md
- vendor/github.com/dprotaso/go-yit/aggregates.go
- vendor/github.com/dprotaso/go-yit/iterator.go
- vendor/github.com/dprotaso/go-yit/predicates.go
- vendor/github.com/getkin/kin-openapi/LICENSE
- vendor/github.com/getkin/kin-openapi/openapi3/callback.go
- vendor/github.com/getkin/kin-openapi/openapi3/components.go
- vendor/github.com/getkin/kin-openapi/openapi3/contact.go
- vendor/github.com/getkin/kin-openapi/openapi3/content.go
- vendor/github.com/getkin/kin-openapi/openapi3/discriminator.go
- vendor/github.com/getkin/kin-openapi/openapi3/doc.go
- vendor/github.com/getkin/kin-openapi/openapi3/encoding.go
- vendor/github.com/getkin/kin-openapi/openapi3/errors.go
- vendor/github.com/getkin/kin-openapi/openapi3/example.go
- vendor/github.com/getkin/kin-openapi/openapi3/example_validation.go
- vendor/github.com/getkin/kin-openapi/openapi3/extension.go
- vendor/github.com/getkin/kin-openapi/openapi3/external_docs.go
- vendor/github.com/getkin/kin-openapi/openapi3/header.go
- vendor/github.com/getkin/kin-openapi/openapi3/helpers.go
- vendor/github.com/getkin/kin-openapi/openapi3/info.go
- vendor/github.com/getkin/kin-openapi/openapi3/internalize_refs.go
- vendor/github.com/getkin/kin-openapi/openapi3/license.go
- vendor/github.com/getkin/kin-openapi/openapi3/link.go
- vendor/github.com/getkin/kin-openapi/openapi3/loader.go
- vendor/github.com/getkin/kin-openapi/openapi3/loader_uri_reader.go
- vendor/github.com/getkin/kin-openapi/openapi3/maplike.go
- vendor/github.com/getkin/kin-openapi/openapi3/marsh.go
- vendor/github.com/getkin/kin-openapi/openapi3/media_type.go
- vendor/github.com/getkin/kin-openapi/openapi3/openapi3.go
- vendor/github.com/getkin/kin-openapi/openapi3/operation.go
- vendor/github.com/getkin/kin-openapi/openapi3/parameter.go
- vendor/github.com/getkin/kin-openapi/openapi3/path_item.go
- vendor/github.com/getkin/kin-openapi/openapi3/paths.go
- vendor/github.com/getkin/kin-openapi/openapi3/ref.go
- vendor/github.com/getkin/kin-openapi/openapi3/refs.go
- vendor/github.com/getkin/kin-openapi/openapi3/refs.tmpl
- vendor/github.com/getkin/kin-openapi/openapi3/refs_test.tmpl
- vendor/github.com/getkin/kin-openapi/openapi3/request_body.go
- vendor/github.com/getkin/kin-openapi/openapi3/response.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema_formats.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema_pattern.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema_validation_settings.go
- vendor/github.com/getkin/kin-openapi/openapi3/security_requirements.go
- vendor/github.com/getkin/kin-openapi/openapi3/security_scheme.go
- vendor/github.com/getkin/kin-openapi/openapi3/serialization_method.go
- vendor/github.com/getkin/kin-openapi/openapi3/server.go
- vendor/github.com/getkin/kin-openapi/openapi3/tag.go
- vendor/github.com/getkin/kin-openapi/openapi3/validation_options.go
- vendor/github.com/getkin/kin-openapi/openapi3/visited.go
- vendor/github.com/getkin/kin-openapi/openapi3/xml.go
- vendor/github.com/invopop/yaml/.gitignore
- vendor/github.com/invopop/yaml/.golangci.toml
- vendor/github.com/invopop/yaml/LICENSE
- vendor/github.com/invopop/yaml/README.md
- vendor/github.com/invopop/yaml/fields.go
- vendor/github.com/invopop/yaml/yaml.go
- vendor/github.com/mohae/deepcopy/.gitignore
- vendor/github.com/mohae/deepcopy/.travis.yml
- vendor/github.com/mohae/deepcopy/LICENSE
- vendor/github.com/mohae/deepcopy/README.md
- vendor/github.com/mohae/deepcopy/deepcopy.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/LICENSE
- vendor/github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen/oapi-codegen.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/codegen.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/configuration.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/extension.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/externalref.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/filter.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/inline.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas_v1.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/operations.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/prune.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/schema.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/template_helpers.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/additional-properties.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/client-with-responses.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/client.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/constants.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-register.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-wrappers.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-register.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-wrappers.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-register.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/imports.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/inline.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/param-types.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/request-bodies.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-echo.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-fiber-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-fiber.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-gin.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-http.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-iris-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-iris.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-responses.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/typedef.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/union-and-additional-properties.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/union.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/test_schema.json
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/test_spec.yaml
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/utils.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/inputmapping.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/isjson.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/loader.go
- vendor/github.com/perimeterx/marshmallow/.gitignore
- vendor/github.com/perimeterx/marshmallow/CHANGELOG.md
- vendor/github.com/perimeterx/marshmallow/CODE_OF_CONDUCT.md
- vendor/github.com/perimeterx/marshmallow/CONTRIBUTING.md
- vendor/github.com/perimeterx/marshmallow/LICENSE
- vendor/github.com/perimeterx/marshmallow/README.md
- vendor/github.com/perimeterx/marshmallow/cache.go
- vendor/github.com/perimeterx/marshmallow/doc.go
- vendor/github.com/perimeterx/marshmallow/errors.go
- vendor/github.com/perimeterx/marshmallow/options.go
- vendor/github.com/perimeterx/marshmallow/reflection.go
- vendor/github.com/perimeterx/marshmallow/unmarshal.go
- vendor/github.com/perimeterx/marshmallow/unmarshal_from_json_map.go
- vendor/github.com/speakeasy-api/openapi-overlay/LICENSE
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/loader/overlay.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/loader/spec.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/apply.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/compare.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parents.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parse.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/schema.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/utils.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/validate.go
- vendor/github.com/vmware-labs/yaml-jsonpath/LICENSE
- vendor/github.com/vmware-labs/yaml-jsonpath/NOTICE
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/comparison.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/doc.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/filter.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/filter_parser.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/lexer.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/path.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/slicer.go
- vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go
- vendor/golang.org/x/mod/module/module.go
- vendor/golang.org/x/mod/module/pseudo.go
- vendor/golang.org/x/text/cases/cases.go
- vendor/golang.org/x/text/cases/context.go
- vendor/golang.org/x/text/cases/fold.go
- vendor/golang.org/x/text/cases/icu.go
- vendor/golang.org/x/text/cases/info.go
- vendor/golang.org/x/text/cases/map.go
- vendor/golang.org/x/text/cases/tables10.0.0.go
- vendor/golang.org/x/text/cases/tables11.0.0.go
- vendor/golang.org/x/text/cases/tables12.0.0.go
- vendor/golang.org/x/text/cases/tables13.0.0.go
- vendor/golang.org/x/text/cases/tables15.0.0.go
- vendor/golang.org/x/text/cases/tables9.0.0.go
- vendor/golang.org/x/text/cases/trieval.go
- vendor/golang.org/x/text/internal/internal.go
- vendor/golang.org/x/text/internal/language/common.go
- vendor/golang.org/x/text/internal/language/compact.go
- vendor/golang.org/x/text/internal/language/compact/compact.go
- vendor/golang.org/x/text/internal/language/compact/language.go
- vendor/golang.org/x/text/internal/language/compact/parents.go
- vendor/golang.org/x/text/internal/language/compact/tables.go
- vendor/golang.org/x/text/internal/language/compact/tags.go
- vendor/golang.org/x/text/internal/language/compose.go
- vendor/golang.org/x/text/internal/language/coverage.go
- vendor/golang.org/x/text/internal/language/language.go
- vendor/golang.org/x/text/internal/language/lookup.go
- vendor/golang.org/x/text/internal/language/match.go
- vendor/golang.org/x/text/internal/language/parse.go
- vendor/golang.org/x/text/internal/language/tables.go
- vendor/golang.org/x/text/internal/language/tags.go
- vendor/golang.org/x/text/internal/match.go
- vendor/golang.org/x/text/internal/tag/tag.go
- vendor/golang.org/x/text/language/coverage.go
- vendor/golang.org/x/text/language/doc.go
- vendor/golang.org/x/text/language/language.go
- vendor/golang.org/x/text/language/match.go
- vendor/golang.org/x/text/language/parse.go
- vendor/golang.org/x/text/language/tables.go
- vendor/golang.org/x/text/language/tags.go
- vendor/golang.org/x/tools/LICENSE
- vendor/golang.org/x/tools/PATENTS
- vendor/golang.org/x/tools/go/ast/astutil/enclosing.go
- vendor/golang.org/x/tools/go/ast/astutil/imports.go
- vendor/golang.org/x/tools/go/ast/astutil/rewrite.go
- vendor/golang.org/x/tools/go/ast/astutil/util.go
- vendor/golang.org/x/tools/imports/forward.go
- vendor/golang.org/x/tools/internal/event/core/event.go
- vendor/golang.org/x/tools/internal/event/core/export.go
- vendor/golang.org/x/tools/internal/event/core/fast.go
- vendor/golang.org/x/tools/internal/event/doc.go
- vendor/golang.org/x/tools/internal/event/event.go
- vendor/golang.org/x/tools/internal/event/keys/keys.go
- vendor/golang.org/x/tools/internal/event/keys/standard.go
- vendor/golang.org/x/tools/internal/event/keys/util.go
- vendor/golang.org/x/tools/internal/event/label/label.go
- vendor/golang.org/x/tools/internal/gocommand/invoke.go
- vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go
- vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go
- vendor/golang.org/x/tools/internal/gocommand/vendor.go
- vendor/golang.org/x/tools/internal/gocommand/version.go
- vendor/golang.org/x/tools/internal/gopathwalk/walk.go
- vendor/golang.org/x/tools/internal/imports/fix.go
- vendor/golang.org/x/tools/internal/imports/imports.go
- vendor/golang.org/x/tools/internal/imports/mod.go
- vendor/golang.org/x/tools/internal/imports/mod_cache.go
- vendor/golang.org/x/tools/internal/imports/sortimports.go
- vendor/golang.org/x/tools/internal/imports/source.go
- vendor/golang.org/x/tools/internal/imports/source_env.go
- vendor/golang.org/x/tools/internal/imports/source_modindex.go
- vendor/golang.org/x/tools/internal/modindex/directories.go
- vendor/golang.org/x/tools/internal/modindex/index.go
- vendor/golang.org/x/tools/internal/modindex/lookup.go
- vendor/golang.org/x/tools/internal/modindex/modindex.go
- vendor/golang.org/x/tools/internal/modindex/symbols.go
- vendor/golang.org/x/tools/internal/modindex/types.go
- vendor/golang.org/x/tools/internal/stdlib/deps.go
- vendor/golang.org/x/tools/internal/stdlib/import.go
- vendor/golang.org/x/tools/internal/stdlib/manifest.go
- vendor/golang.org/x/tools/internal/stdlib/stdlib.go
- vendor/modules.txt
- wire_gen.go
-
Files skipped - 0
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
- GOVULNCHECK (Security Vulnerability) - ✖︎ Failed
- OWASP (Security Vulnerability) - ✔︎ Successful
- SNYK (Security Vulnerability) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review
- Manually triggers a full AI review. -
/pause
- Pauses automatic reviews on this pull request. -
/resume
- Resumes automatic reviews. -
/resolve
- Marks all Bito-posted review comments as resolved. -
/abort
- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Default Agent
You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
/review |
Changelist by BitoThis pull request implements the following key changes.
|
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.
Bito is crafting review details...
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-fiber.tmpl
Show resolved
Hide resolved
Changelist by BitoThis pull request implements the following key changes.
|
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.
Code Review Agent Run #2cc5cc
Actionable Suggestions - 30
-
specs/bulkEdit/v1beta1/schema.json - 1
- Broken regex pattern escaping · Line 58-58
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-middleware.tmpl - 1
- Error variable shadowing loses details · Line 146-146
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-register.tmpl - 1
- Variable shadowing in anonymous function · Line 35-35
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/operations.go - 1
- Vendor file modification issue · Line 145-147
-
vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/comparison.go - 1
- Missing string ordering comparison logic · Line 59-63
-
vendor/golang.org/x/text/internal/language/tables.go - 7
- Missing table entry causes indexing gap · Line 2361-2362
- Missing table entry causes indexing gap · Line 2382-2383
- Missing table entry causes indexing gap · Line 2408-2409
- Missing array entry breaks indexing · Line 2483-2484
- Missing array entry breaks indexing · Line 2515-2516
- Missing array entry breaks indexing · Line 2603-2604
- Missing array entry breaks indexing · Line 2624-2625
-
vendor/github.com/getkin/kin-openapi/openapi3/marsh.go - 1
- Incorrect string manipulation in error processing · Line 14-14
-
vendor/github.com/perimeterx/marshmallow/reflection.go - 1
- Slice sharing causes incorrect field paths · Line 44-44
-
vendor/golang.org/x/text/language/coverage.go - 1
- Closure variable capture bug · Line 174-181
-
vendor/github.com/getkin/kin-openapi/openapi3/validation_options.go - 1
- Missing validation option functions for example fields · Line 10-10
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas.go - 1
- Incorrect AllOf field handling after merge · Line 121-121
-
vendor/github.com/perimeterx/marshmallow/unmarshal.go - 1
- Slice append doesn't modify original parameter · Line 363-367
-
vendor/golang.org/x/tools/go/ast/astutil/enclosing.go - 2
- Missing return statement in switch case · Line 530-530
- Missing return statement in GenDecl case · Line 588-588
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-handler.tmpl - 1
- Conditional middleware registration breaks functionality · Line 13-23
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-responses.tmpl - 1
- Unreachable template conditional logic · Line 14-14
-
vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/utils.go - 1
- JSONPath string escaping vulnerability · Line 9-9
-
vendor/github.com/speakeasy-api/openapi-overlay/pkg/loader/spec.go - 1
- File handle resource leak · Line 46-51
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-middleware.tmpl - 2
- Incorrect path parameter extraction method · Line 21-21
- Incorrect path parameter extraction for JSON · Line 24-24
-
vendor/golang.org/x/tools/internal/imports/sortimports.go - 1
- Loop index not adjusted after slice deletion · Line 32-35
-
vendor/github.com/getkin/kin-openapi/openapi3/helpers.go - 1
- Incorrect string parsing separator · Line 184-184
-
vendor/golang.org/x/tools/internal/stdlib/manifest.go - 1
- Spelling error in field name · Line 1374-1374
-
vendor/github.com/getkin/kin-openapi/openapi3/internalize_refs.go - 1
- Incorrect buffer sizing with unrelated constant · Line 121-121
Additional Suggestions - 6
-
vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parse.go - 1
-
Incorrect error message context · Line 43-43Error message incorrectly states 'failed to open overlay file' but the actual error is from `filepath.Abs()`. Change to 'failed to get absolute path for %q: %w'.
code suggestion
@@ -43,1 +43,1 @@ - return fmt.Errorf("failed to open overlay file at path %q: %w", path, err) + return fmt.Errorf("failed to get absolute path for %q: %w", path, err)
-
-
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/loader.go - 1
-
Misleading error message for LoadFromDataWithPath · Line 96-96The error message incorrectly states 'failed to serialize' when the actual operation that failed is loading/deserializing the overlaid specification using `LoadFromDataWithPath`. This misleading error message will confuse developers during debugging. Change to 'failed to load Overlay'd specification'.
code suggestion
@@ -96,1 +96,1 @@ - return nil, fmt.Errorf("failed to serialize Overlay'd specification %#v: %v", opts.Path, err) + return nil, fmt.Errorf("failed to load Overlay'd specification %#v: %v", opts.Path, err)
-
-
vendor/golang.org/x/tools/internal/event/keys/keys.go - 3
-
Incorrect NewFloat64 documentation comment · Line 432-432The documentation comment for `NewFloat64` incorrectly states it creates a key for int64 values, but it actually creates a key for float64 values. This misleading documentation could confuse developers using this API.
code suggestion
@@ -432,1 +432,1 @@ -// NewFloat64 creates a new Key for int64 values. +// NewFloat64 creates a new Key for float64 values.
-
Incorrect NewString documentation comment · Line 468-468The documentation comment for `NewString` incorrectly states it creates a key for int64 values, but it actually creates a key for string values. This misleading documentation could confuse developers using this API.
code suggestion
@@ -468,1 +468,1 @@ -// NewString creates a new Key for int64 values. +// NewString creates a new Key for string values.
-
Incorrect NewError documentation comment · Line 537-537The documentation comment for `NewError` incorrectly states it creates a key for int64 values, but it actually creates a key for error values. This misleading documentation could confuse developers using this API.
code suggestion
@@ -537,1 +537,1 @@ -// NewError creates a new Key for int64 values. +// NewError creates a new Key for error values.
-
-
vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/apply.go - 1
-
Dead code after Query call · Line 99-99Dead code detected: error check after `p.Query(root)` call will never be reached because `p.Query()` only returns a slice of nodes, not an error. This unreachable code should be removed to prevent confusion and maintain code clarity.
code suggestion
@@ -99,3 +99,0 @@ - if err != nil { - return err - }
-
Filtered by Review Rules
Bito filtered these suggestions based on rules created automatically for your feedback. Manage rules.
-
scripts/sql/34204000_bulk_edit_config.down.sql - 1
- Migration sequence name mismatch · Line 7-7
-
vendor/golang.org/x/text/internal/language/compact.go - 1
- RegionID bit mask truncation issue · Line 26-26
-
vendor/github.com/invopop/yaml/.golangci.toml - 1
- Duplicate linter configuration entry · Line 9-9
-
vendor/golang.org/x/tools/internal/stdlib/manifest.go - 1
- Manual edit of generated file · Line 9477-9477
Review Details
-
Files reviewed - 265 · Commit Range:
d936815..4fe2e84
- Wire.go
- api/restHandler/BulkUpdateRestHandler.go
- api/restHandler/BulkUpdateRestHandler_ent.go
- api/router/BulkUpdateRouter.go
- api/router/BulkUpdateRouter_ent.go
- go.mod
- go.sum
- hack/tools.go
- internal/sql/repository/chartConfig/ConfigMapRepository.go
- pkg/bulkAction/bean/bean.go
- pkg/bulkAction/repository/BulkEditRepository_ent.go
- pkg/bulkAction/service/BulkUpdateService.go
- pkg/bulkAction/service/BulkUpdateService_ent.go
- pkg/bulkAction/utils/utils.go
- pkg/team/repository/TeamRepository.go
- pkg/team/repository/TeamRepository_ent.go
- scripts/sql/34204000_bulk_edit_config.down.sql
- scripts/sql/34204000_bulk_edit_config.up.sql
- specs/bulkEdit/v1beta1/example.yml
- specs/bulkEdit/v1beta1/schema.json
- tests/pipeline/BulkUpdateService_test.go
- tests/pipeline/ChartService_test.go
- util/HttpUtil.go
- util/context-utils.go
- util/contextUtils.go
- vendor/github.com/dprotaso/go-yit/.gitignore
- vendor/github.com/dprotaso/go-yit/LICENSE
- vendor/github.com/dprotaso/go-yit/README.md
- vendor/github.com/dprotaso/go-yit/aggregates.go
- vendor/github.com/dprotaso/go-yit/iterator.go
- vendor/github.com/dprotaso/go-yit/predicates.go
- vendor/github.com/getkin/kin-openapi/LICENSE
- vendor/github.com/getkin/kin-openapi/openapi3/callback.go
- vendor/github.com/getkin/kin-openapi/openapi3/components.go
- vendor/github.com/getkin/kin-openapi/openapi3/contact.go
- vendor/github.com/getkin/kin-openapi/openapi3/content.go
- vendor/github.com/getkin/kin-openapi/openapi3/discriminator.go
- vendor/github.com/getkin/kin-openapi/openapi3/doc.go
- vendor/github.com/getkin/kin-openapi/openapi3/encoding.go
- vendor/github.com/getkin/kin-openapi/openapi3/errors.go
- vendor/github.com/getkin/kin-openapi/openapi3/example.go
- vendor/github.com/getkin/kin-openapi/openapi3/example_validation.go
- vendor/github.com/getkin/kin-openapi/openapi3/extension.go
- vendor/github.com/getkin/kin-openapi/openapi3/external_docs.go
- vendor/github.com/getkin/kin-openapi/openapi3/header.go
- vendor/github.com/getkin/kin-openapi/openapi3/helpers.go
- vendor/github.com/getkin/kin-openapi/openapi3/info.go
- vendor/github.com/getkin/kin-openapi/openapi3/internalize_refs.go
- vendor/github.com/getkin/kin-openapi/openapi3/license.go
- vendor/github.com/getkin/kin-openapi/openapi3/link.go
- vendor/github.com/getkin/kin-openapi/openapi3/loader.go
- vendor/github.com/getkin/kin-openapi/openapi3/loader_uri_reader.go
- vendor/github.com/getkin/kin-openapi/openapi3/maplike.go
- vendor/github.com/getkin/kin-openapi/openapi3/marsh.go
- vendor/github.com/getkin/kin-openapi/openapi3/media_type.go
- vendor/github.com/getkin/kin-openapi/openapi3/openapi3.go
- vendor/github.com/getkin/kin-openapi/openapi3/operation.go
- vendor/github.com/getkin/kin-openapi/openapi3/parameter.go
- vendor/github.com/getkin/kin-openapi/openapi3/path_item.go
- vendor/github.com/getkin/kin-openapi/openapi3/paths.go
- vendor/github.com/getkin/kin-openapi/openapi3/ref.go
- vendor/github.com/getkin/kin-openapi/openapi3/refs.go
- vendor/github.com/getkin/kin-openapi/openapi3/refs.tmpl
- vendor/github.com/getkin/kin-openapi/openapi3/refs_test.tmpl
- vendor/github.com/getkin/kin-openapi/openapi3/request_body.go
- vendor/github.com/getkin/kin-openapi/openapi3/response.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema_formats.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema_pattern.go
- vendor/github.com/getkin/kin-openapi/openapi3/schema_validation_settings.go
- vendor/github.com/getkin/kin-openapi/openapi3/security_requirements.go
- vendor/github.com/getkin/kin-openapi/openapi3/security_scheme.go
- vendor/github.com/getkin/kin-openapi/openapi3/serialization_method.go
- vendor/github.com/getkin/kin-openapi/openapi3/server.go
- vendor/github.com/getkin/kin-openapi/openapi3/tag.go
- vendor/github.com/getkin/kin-openapi/openapi3/validation_options.go
- vendor/github.com/getkin/kin-openapi/openapi3/visited.go
- vendor/github.com/getkin/kin-openapi/openapi3/xml.go
- vendor/github.com/invopop/yaml/.gitignore
- vendor/github.com/invopop/yaml/.golangci.toml
- vendor/github.com/invopop/yaml/LICENSE
- vendor/github.com/invopop/yaml/README.md
- vendor/github.com/invopop/yaml/fields.go
- vendor/github.com/invopop/yaml/yaml.go
- vendor/github.com/mohae/deepcopy/.gitignore
- vendor/github.com/mohae/deepcopy/.travis.yml
- vendor/github.com/mohae/deepcopy/LICENSE
- vendor/github.com/mohae/deepcopy/README.md
- vendor/github.com/mohae/deepcopy/deepcopy.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/LICENSE
- vendor/github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen/oapi-codegen.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/codegen.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/configuration.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/extension.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/externalref.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/filter.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/inline.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas_v1.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/operations.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/prune.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/schema.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/template_helpers.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/additional-properties.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/client-with-responses.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/client.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/constants.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-register.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-wrappers.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-register.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-wrappers.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-register.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/imports.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/inline.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/param-types.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/request-bodies.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-handler.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-middleware.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-echo.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-fiber-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-fiber.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-gin.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-http.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-iris-interface.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-iris.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-responses.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/typedef.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/union-and-additional-properties.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/union.tmpl
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/test_schema.json
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/test_spec.yaml
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/utils.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/inputmapping.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/isjson.go
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/loader.go
- vendor/github.com/perimeterx/marshmallow/.gitignore
- vendor/github.com/perimeterx/marshmallow/CHANGELOG.md
- vendor/github.com/perimeterx/marshmallow/CODE_OF_CONDUCT.md
- vendor/github.com/perimeterx/marshmallow/CONTRIBUTING.md
- vendor/github.com/perimeterx/marshmallow/LICENSE
- vendor/github.com/perimeterx/marshmallow/README.md
- vendor/github.com/perimeterx/marshmallow/cache.go
- vendor/github.com/perimeterx/marshmallow/doc.go
- vendor/github.com/perimeterx/marshmallow/errors.go
- vendor/github.com/perimeterx/marshmallow/options.go
- vendor/github.com/perimeterx/marshmallow/reflection.go
- vendor/github.com/perimeterx/marshmallow/unmarshal.go
- vendor/github.com/perimeterx/marshmallow/unmarshal_from_json_map.go
- vendor/github.com/speakeasy-api/openapi-overlay/LICENSE
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/loader/overlay.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/loader/spec.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/apply.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/compare.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parents.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parse.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/schema.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/utils.go
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/validate.go
- vendor/github.com/vmware-labs/yaml-jsonpath/LICENSE
- vendor/github.com/vmware-labs/yaml-jsonpath/NOTICE
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/comparison.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/doc.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/filter.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/filter_parser.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/lexer.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/path.go
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/slicer.go
- vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go
- vendor/golang.org/x/mod/module/module.go
- vendor/golang.org/x/mod/module/pseudo.go
- vendor/golang.org/x/text/cases/cases.go
- vendor/golang.org/x/text/cases/context.go
- vendor/golang.org/x/text/cases/fold.go
- vendor/golang.org/x/text/cases/icu.go
- vendor/golang.org/x/text/cases/info.go
- vendor/golang.org/x/text/cases/map.go
- vendor/golang.org/x/text/cases/tables10.0.0.go
- vendor/golang.org/x/text/cases/tables11.0.0.go
- vendor/golang.org/x/text/cases/tables12.0.0.go
- vendor/golang.org/x/text/cases/tables13.0.0.go
- vendor/golang.org/x/text/cases/tables15.0.0.go
- vendor/golang.org/x/text/cases/tables9.0.0.go
- vendor/golang.org/x/text/cases/trieval.go
- vendor/golang.org/x/text/internal/internal.go
- vendor/golang.org/x/text/internal/language/common.go
- vendor/golang.org/x/text/internal/language/compact.go
- vendor/golang.org/x/text/internal/language/compact/compact.go
- vendor/golang.org/x/text/internal/language/compact/language.go
- vendor/golang.org/x/text/internal/language/compact/parents.go
- vendor/golang.org/x/text/internal/language/compact/tables.go
- vendor/golang.org/x/text/internal/language/compact/tags.go
- vendor/golang.org/x/text/internal/language/compose.go
- vendor/golang.org/x/text/internal/language/coverage.go
- vendor/golang.org/x/text/internal/language/language.go
- vendor/golang.org/x/text/internal/language/lookup.go
- vendor/golang.org/x/text/internal/language/match.go
- vendor/golang.org/x/text/internal/language/parse.go
- vendor/golang.org/x/text/internal/language/tables.go
- vendor/golang.org/x/text/internal/language/tags.go
- vendor/golang.org/x/text/internal/match.go
- vendor/golang.org/x/text/internal/tag/tag.go
- vendor/golang.org/x/text/language/coverage.go
- vendor/golang.org/x/text/language/doc.go
- vendor/golang.org/x/text/language/language.go
- vendor/golang.org/x/text/language/match.go
- vendor/golang.org/x/text/language/parse.go
- vendor/golang.org/x/text/language/tables.go
- vendor/golang.org/x/text/language/tags.go
- vendor/golang.org/x/tools/LICENSE
- vendor/golang.org/x/tools/PATENTS
- vendor/golang.org/x/tools/go/ast/astutil/enclosing.go
- vendor/golang.org/x/tools/go/ast/astutil/imports.go
- vendor/golang.org/x/tools/go/ast/astutil/rewrite.go
- vendor/golang.org/x/tools/go/ast/astutil/util.go
- vendor/golang.org/x/tools/imports/forward.go
- vendor/golang.org/x/tools/internal/event/core/event.go
- vendor/golang.org/x/tools/internal/event/core/export.go
- vendor/golang.org/x/tools/internal/event/core/fast.go
- vendor/golang.org/x/tools/internal/event/doc.go
- vendor/golang.org/x/tools/internal/event/event.go
- vendor/golang.org/x/tools/internal/event/keys/keys.go
- vendor/golang.org/x/tools/internal/event/keys/standard.go
- vendor/golang.org/x/tools/internal/event/keys/util.go
- vendor/golang.org/x/tools/internal/event/label/label.go
- vendor/golang.org/x/tools/internal/gocommand/invoke.go
- vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go
- vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go
- vendor/golang.org/x/tools/internal/gocommand/vendor.go
- vendor/golang.org/x/tools/internal/gocommand/version.go
- vendor/golang.org/x/tools/internal/gopathwalk/walk.go
- vendor/golang.org/x/tools/internal/imports/fix.go
- vendor/golang.org/x/tools/internal/imports/imports.go
- vendor/golang.org/x/tools/internal/imports/mod.go
- vendor/golang.org/x/tools/internal/imports/mod_cache.go
- vendor/golang.org/x/tools/internal/imports/sortimports.go
- vendor/golang.org/x/tools/internal/imports/source.go
- vendor/golang.org/x/tools/internal/imports/source_env.go
- vendor/golang.org/x/tools/internal/imports/source_modindex.go
- vendor/golang.org/x/tools/internal/modindex/directories.go
- vendor/golang.org/x/tools/internal/modindex/index.go
- vendor/golang.org/x/tools/internal/modindex/lookup.go
- vendor/golang.org/x/tools/internal/modindex/modindex.go
- vendor/golang.org/x/tools/internal/modindex/symbols.go
- vendor/golang.org/x/tools/internal/modindex/types.go
- vendor/golang.org/x/tools/internal/stdlib/deps.go
- vendor/golang.org/x/tools/internal/stdlib/import.go
- vendor/golang.org/x/tools/internal/stdlib/manifest.go
- vendor/golang.org/x/tools/internal/stdlib/stdlib.go
- vendor/modules.txt
- wire_gen.go
-
Files skipped - 0
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
- GOVULNCHECK (Security Vulnerability) - ✖︎ Failed
- OWASP (Security Vulnerability) - ✔︎ Successful
- SNYK (Security Vulnerability) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review
- Manually triggers a full AI review. -
/pause
- Pauses automatic reviews on this pull request. -
/resume
- Resumes automatic reviews. -
/resolve
- Marks all Bito-posted review comments as resolved. -
/abort
- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Default Agent
You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
...thub.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-middleware.tmpl
Show resolved
Hide resolved
.../github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-register.tmpl
Show resolved
Hide resolved
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/operations.go
Show resolved
Hide resolved
vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-handler.tmpl
Show resolved
Hide resolved
...r/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-responses.tmpl
Show resolved
Hide resolved
...or/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-middleware.tmpl
Show resolved
Hide resolved
...or/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-middleware.tmpl
Show resolved
Hide resolved
… and refactor PropertiesConfigService
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.
Code Review Agent Run #04a850
Actionable Suggestions - 2
-
scripts/sql/34204000_bulk_edit_config.up.sql - 1
- Invalid JSON Schema anyOf placement · Line 345-365
-
pkg/bulkAction/service/BulkUpdateService_ent.go - 1
- Constructor returns nil causing nil pointer · Line 40-40
Review Details
-
Files reviewed - 27 · Commit Range:
d936815..04ec183
- Wire.go
- api/restHandler/BulkUpdateRestHandler.go
- api/restHandler/BulkUpdateRestHandler_ent.go
- api/router/BulkUpdateRouter.go
- api/router/BulkUpdateRouter_ent.go
- go.mod
- go.sum
- hack/tools.go
- internal/sql/repository/chartConfig/ConfigMapRepository.go
- pkg/bulkAction/bean/bean.go
- pkg/bulkAction/repository/BulkEditRepository_ent.go
- pkg/bulkAction/service/BulkUpdateService.go
- pkg/bulkAction/service/BulkUpdateService_ent.go
- pkg/bulkAction/utils/utils.go
- pkg/chart/ChartService.go
- pkg/deployment/manifest/deploymentTemplate/validator/DeploymentTemplateValidationService.go
- pkg/pipeline/PropertiesConfig.go
- pkg/team/repository/TeamRepository.go
- pkg/team/repository/TeamRepository_ent.go
- scripts/sql/34204000_bulk_edit_config.down.sql
- scripts/sql/34204000_bulk_edit_config.up.sql
- tests/pipeline/BulkUpdateService_test.go
- tests/pipeline/ChartService_test.go
- util/HttpUtil.go
- util/context-utils.go
- util/contextUtils.go
- wire_gen.go
-
Files skipped - 241
- specs/bulkEdit/v1beta1/example.yml - Reason: Filter setting
- specs/bulkEdit/v1beta1/schema.json - Reason: Filter setting
- vendor/github.com/dprotaso/go-yit/.gitignore - Reason: Filter setting
- vendor/github.com/dprotaso/go-yit/LICENSE - Reason: Filter setting
- vendor/github.com/dprotaso/go-yit/README.md - Reason: Filter setting
- vendor/github.com/dprotaso/go-yit/aggregates.go - Reason: Filter setting
- vendor/github.com/dprotaso/go-yit/iterator.go - Reason: Filter setting
- vendor/github.com/dprotaso/go-yit/predicates.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/LICENSE - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/callback.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/components.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/contact.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/content.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/discriminator.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/doc.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/encoding.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/errors.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/example.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/example_validation.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/extension.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/external_docs.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/header.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/helpers.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/info.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/internalize_refs.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/license.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/link.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/loader.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/loader_uri_reader.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/maplike.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/marsh.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/media_type.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/openapi3.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/operation.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/parameter.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/path_item.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/paths.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/ref.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/refs.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/refs.tmpl - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/refs_test.tmpl - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/request_body.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/response.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/schema.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/schema_formats.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/schema_pattern.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/schema_validation_settings.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/security_requirements.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/security_scheme.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/serialization_method.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/server.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/tag.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/validation_options.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/visited.go - Reason: Filter setting
- vendor/github.com/getkin/kin-openapi/openapi3/xml.go - Reason: Filter setting
- vendor/github.com/invopop/yaml/.gitignore - Reason: Filter setting
- vendor/github.com/invopop/yaml/.golangci.toml - Reason: Filter setting
- vendor/github.com/invopop/yaml/LICENSE - Reason: Filter setting
- vendor/github.com/invopop/yaml/README.md - Reason: Filter setting
- vendor/github.com/invopop/yaml/fields.go - Reason: Filter setting
- vendor/github.com/invopop/yaml/yaml.go - Reason: Filter setting
- vendor/github.com/mohae/deepcopy/.gitignore - Reason: Filter setting
- vendor/github.com/mohae/deepcopy/.travis.yml - Reason: Filter setting
- vendor/github.com/mohae/deepcopy/LICENSE - Reason: Filter setting
- vendor/github.com/mohae/deepcopy/README.md - Reason: Filter setting
- vendor/github.com/mohae/deepcopy/deepcopy.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/LICENSE - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen/oapi-codegen.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/codegen.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/configuration.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/extension.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/externalref.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/filter.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/inline.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/merge_schemas_v1.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/operations.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/prune.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/schema.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/template_helpers.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/additional-properties.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-handler.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/chi/chi-middleware.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/client-with-responses.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/client.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/constants.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-register.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/echo/echo-wrappers.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-handler.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/fiber/fiber-middleware.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-register.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gin/gin-wrappers.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-middleware.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/gorilla/gorilla-register.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/imports.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/inline.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-handler.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/iris/iris-middleware.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/param-types.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/request-bodies.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-handler.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/stdhttp/std-http-middleware.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-echo.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-fiber-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-fiber.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-gin.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-http.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-iris-interface.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-iris.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/strict/strict-responses.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/typedef.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/union-and-additional-properties.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/templates/union.tmpl - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/test_schema.json - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/test_spec.yaml - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/codegen/utils.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/inputmapping.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/isjson.go - Reason: Filter setting
- vendor/github.com/oapi-codegen/oapi-codegen/v2/pkg/util/loader.go - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/.gitignore - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/CHANGELOG.md - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/CODE_OF_CONDUCT.md - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/CONTRIBUTING.md - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/LICENSE - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/README.md - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/cache.go - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/doc.go - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/errors.go - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/options.go - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/reflection.go - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/unmarshal.go - Reason: Filter setting
- vendor/github.com/perimeterx/marshmallow/unmarshal_from_json_map.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/LICENSE - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/loader/overlay.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/loader/spec.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/apply.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/compare.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parents.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/parse.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/schema.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/utils.go - Reason: Filter setting
- vendor/github.com/speakeasy-api/openapi-overlay/pkg/overlay/validate.go - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/LICENSE - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/NOTICE - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/comparison.go - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/doc.go - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/filter.go - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/filter_parser.go - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/lexer.go - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/path.go - Reason: Filter setting
- vendor/github.com/vmware-labs/yaml-jsonpath/pkg/yamlpath/slicer.go - Reason: Filter setting
- vendor/golang.org/x/mod/internal/lazyregexp/lazyre.go - Reason: Filter setting
- vendor/golang.org/x/mod/module/module.go - Reason: Filter setting
- vendor/golang.org/x/mod/module/pseudo.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/cases.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/context.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/fold.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/icu.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/info.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/map.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/tables10.0.0.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/tables11.0.0.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/tables12.0.0.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/tables13.0.0.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/tables15.0.0.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/tables9.0.0.go - Reason: Filter setting
- vendor/golang.org/x/text/cases/trieval.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/internal.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/common.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/compact.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/compact/compact.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/compact/language.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/compact/parents.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/compact/tables.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/compact/tags.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/compose.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/coverage.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/language.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/lookup.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/match.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/parse.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/tables.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/language/tags.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/match.go - Reason: Filter setting
- vendor/golang.org/x/text/internal/tag/tag.go - Reason: Filter setting
- vendor/golang.org/x/text/language/coverage.go - Reason: Filter setting
- vendor/golang.org/x/text/language/doc.go - Reason: Filter setting
- vendor/golang.org/x/text/language/language.go - Reason: Filter setting
- vendor/golang.org/x/text/language/match.go - Reason: Filter setting
- vendor/golang.org/x/text/language/parse.go - Reason: Filter setting
- vendor/golang.org/x/text/language/tables.go - Reason: Filter setting
- vendor/golang.org/x/text/language/tags.go - Reason: Filter setting
- vendor/golang.org/x/tools/LICENSE - Reason: Filter setting
- vendor/golang.org/x/tools/PATENTS - Reason: Filter setting
- vendor/golang.org/x/tools/go/ast/astutil/enclosing.go - Reason: Filter setting
- vendor/golang.org/x/tools/go/ast/astutil/imports.go - Reason: Filter setting
- vendor/golang.org/x/tools/go/ast/astutil/rewrite.go - Reason: Filter setting
- vendor/golang.org/x/tools/go/ast/astutil/util.go - Reason: Filter setting
- vendor/golang.org/x/tools/imports/forward.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/core/event.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/core/export.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/core/fast.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/doc.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/event.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/keys/keys.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/keys/standard.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/keys/util.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/event/label/label.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/gocommand/invoke.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/gocommand/invoke_notunix.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/gocommand/invoke_unix.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/gocommand/vendor.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/gocommand/version.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/gopathwalk/walk.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/fix.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/imports.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/mod.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/mod_cache.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/sortimports.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/source.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/source_env.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/imports/source_modindex.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/modindex/directories.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/modindex/index.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/modindex/lookup.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/modindex/modindex.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/modindex/symbols.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/modindex/types.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/stdlib/deps.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/stdlib/import.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/stdlib/manifest.go - Reason: Filter setting
- vendor/golang.org/x/tools/internal/stdlib/stdlib.go - Reason: Filter setting
- vendor/modules.txt - Reason: Filter setting
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
- SNYK (Security Vulnerability) - ✔︎ Successful
- GOVULNCHECK (Security Vulnerability) - ✖︎ Failed
- OWASP (Security Vulnerability) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review
- Manually triggers a full AI review. -
/pause
- Pauses automatic reviews on this pull request. -
/resume
- Resumes automatic reviews. -
/resolve
- Marks all Bito-posted review comments as resolved. -
/abort
- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Default Agent
You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
Code Review Agent Run #04ecd1Actionable Suggestions - 0Filtered by Review RulesBito filtered these suggestions based on rules created automatically for your feedback. Manage rules.
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
…tors and detailed schema
…ield descriptions and removing redundant comments
Code Review Agent Run #0c4fceActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
Bito Review Skipped - No Changes Detected |
Code Review Agent Run #7e9dc9Actionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
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.
add developer(in develop-guide dir) doc for usage of this
Code Review Agent Run #e4fbedActionable Suggestions - 0Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
|
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.
Code Review Agent Run #92fcaa
Actionable Suggestions - 1
-
scripts/sql/34204000_bulk_edit_config.up.sql - 1
- Missing required chart name validation · Line 504-504
Review Details
-
Files reviewed - 6 · Commit Range:
3b3dba8..8d97acc
- scripts/sql/34204000_bulk_edit_config.up.sql
- pkg/bulkAction/service/BulkUpdateService.go
- pkg/bulkAction/utils/utils.go
- util/json/patch.go
- pkg/chart/ChartService.go
- pkg/deployment/manifest/deploymentTemplate/read/chartEnvConfigOverride.go
-
Files skipped - 0
-
Tools
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review
- Manually triggers a full AI review. -
/pause
- Pauses automatic reviews on this pull request. -
/resume
- Resumes automatic reviews. -
/resolve
- Marks all Bito-posted review comments as resolved. -
/abort
- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Default Agent
You can customize the agent settings here or contact your Bito workspace admin at [email protected].
Documentation & Help
Description
Fixes https://github.com/devtron-labs/sprint-tasks/issues/2232
Checklist:
Does this PR introduce a user-facing change?
Summary by Bito
This PR implements and enhances bulk edit capabilities for v1beta2 by implementing critical bug fixes for error handling, adjusting SQL configuration scripts, and refactoring utilities into a JSON patch module. It ensures nil errors are properly returned for successful operations, improves API response reliability, and enhances environment property management in chart services to boost stability in bulk operations.