-
Notifications
You must be signed in to change notification settings - Fork 543
Deployment chart keda #6731
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
Deployment chart keda #6731
Conversation
* notifier v1 removed * notifier v1 removed
…rviceImpl` to make token visibility configurable
sync: Main sync develop
chore: OSS main sync
fix: Build get Stuck Indefinitely in case of K8s Driver When Node Termination Occurs
chore: Api token hide via flag
# Conflicts: # env_gen.json
feat: enhance patch support for user attribute patch api within nested structure
chore: main sync
Co-authored-by: Pawan Mehta <[email protected]>
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP 404).\n |
|
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 #ae4fc3
Actionable Suggestions - 1
-
pkg/attributes/UserAttributesService.go - 1
- Missing UserId field in response DTO · Line 265-265
Review Details
-
Files reviewed - 21 · Commit Range:
a93ab0e..4dfe4f8
- api/restHandler/UserAttributesRestHandler.go
- client/argocdServer/ArgoClientWrapperService.go
- client/events/EventClient.go
- cmd/external-app/wire_gen.go
- go.mod
- go.sum
- pkg/apiToken/ApiTokenService.go
- pkg/attributes/UserAttributesService.go
- pkg/attributes/UserAttributesService_test.go
- pkg/attributes/adapter/adapter.go
- pkg/attributes/bean/bean.go
- pkg/build/trigger/HandlerService.go
- pkg/build/trigger/HandlerService_ent.go
- pkg/deployment/gitOps/git/GitOperationService.go
- pkg/deployment/gitOps/git/GitServiceAzure.go
- pkg/deployment/gitOps/git/GitServiceBitbucket.go
- pkg/deployment/gitOps/git/GitServiceGithub.go
- pkg/deployment/gitOps/git/GitServiceGitlab.go
- pkg/pipeline/types/Workflow.go
- scripts/devtron-reference-helm-charts/deployment-chart_4-21-0/values.yaml
- wire_gen.go
-
Files skipped - 3
- env_gen.json - Reason: Filter setting
- env_gen.md - 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
@@ -203,7 +262,7 @@ func (impl UserAttributesServiceImpl) GetUserAttribute(request *UserAttributesDt | |||
impl.logger.Errorw("error in fetching user attributes", "req", request, "error", err) | |||
return nil, errors.New("error occurred while getting user attributes") | |||
} | |||
resAttrDto := &UserAttributesDto{ | |||
resAttrDto := &bean.UserAttributesDto{ |
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.
Missing UserId
field assignment in GetUserAttribute
response DTO construction. The bean.UserAttributesDto
struct includes a UserId
field, but it's not being set in the response, causing incomplete data to be returned. Add UserId: request.UserId,
to the struct initialization.
Code suggestion
Check the AI-generated fix before applying
@@ -265,6 +265,7 @@
resAttrDto := &bean.UserAttributesDto{
EmailId: request.EmailId,
Key: request.Key,
Value: modelValue,
+ UserId: request.UserId,
}
return resAttrDto, nil
Code Review Run #ae4fc3
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP 404).\n |
Description
Fixes #
Checklist:
Does this PR introduce a user-facing change?
Summary by Bito
The pull request implements comprehensive improvements across the codebase, addressing type consistency and error handling in user attributes and API token services, while modernizing event payload generation. It updates dependency references and refines package imports for enhanced maintainability. The modifications integrate advanced JSON parsing and merging mechanisms in the attributes service.