-
Notifications
You must be signed in to change notification settings - Fork 554
chore: chart service crud and configProperties #6642
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
Conversation
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 2763127 | Triggered | Generic High Entropy Secret | 3c0f6c8 | scripts/devtron-reference-helm-charts/cronjob-chart_1-6-0/secrets-test-values.yaml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
* notifier v1 removed * notifier v1 removed
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 #dfb855
Actionable Suggestions - 4
-
pkg/chart/ChartService.go - 1
- Missing commit status flag update · Line 1008-1008
-
pkg/pipeline/CiCdPipelineOrchestrator.go - 1
- Transaction consistency violation · Line 1373-1373
-
internal/sql/repository/deploymentConfig/repository.go - 2
- Nil pointer dereference in connection assignment · Line 149-151
- Duplicate nil pointer dereference in connection assignment · Line 149-151
Review Details
-
Files reviewed - 34 · Commit Range:
3041db5..9a0d46d- api/restHandler/app/appList/AppListingRestHandler.go
- cmd/external-app/wire_gen.go
- internal/sql/repository/chartConfig/EnvConfigOverrideRepository.go
- internal/sql/repository/deploymentConfig/repository.go
- pkg/app/AppListingService.go
- pkg/app/AppService.go
- pkg/app/status/PipelineStatusTimelineService.go
- pkg/appWorkflow/AppWorkflowService.go
- pkg/chart/ChartService.go
- pkg/chart/gitOpsConfig/DevtronAppGitOpsConfigService.go
- pkg/chart/read/ChartReadService.go
- pkg/chartRepo/repository/ChartRepoRepository_test.go
- pkg/chartRepo/repository/ChartsRepository.go
- pkg/commonService/CommonService.go
- pkg/config/configDiff/DeploymentConfigurationService.go
- pkg/deployment/common/deploymentConfigService.go
- pkg/deployment/common/read/deploymentConfigReadService.go
- pkg/deployment/manifest/ManifestCreationService.go
- pkg/deployment/manifest/deploymentTemplate/DeploymentTemplateService.go
- pkg/deployment/manifest/deploymentTemplate/read/chartEnvConfigOverride.go
- pkg/deployment/trigger/devtronApps/deployStageHandlerCode.go
- pkg/deployment/trigger/devtronApps/postStageHandlerCode.go
- pkg/deployment/trigger/devtronApps/preStageHandlerCode.go
- pkg/eventProcessor/in/WorkflowEventProcessorService.go
- pkg/pipeline/AppDeploymentTypeChangeManager.go
- pkg/pipeline/CdHandler.go
- pkg/pipeline/CiCdPipelineOrchestrator.go
- pkg/pipeline/DeploymentConfigService.go
- pkg/pipeline/DeploymentPipelineConfigService.go
- pkg/pipeline/DevtronAppStrategyService.go
- pkg/pipeline/PropertiesConfig.go
- pkg/workflow/cd/CdWorkflowCommonService.go
- pkg/workflow/dag/WorkflowDagExecutor.go
- pkg/workflow/status/WorkflowStatusService.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
Code Review Agent Run #3529a2Actionable 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 |



Description
Fixes https://github.com/devtron-labs/sprint-tasks/issues/2107
Adding tx in chart service and propertiesService
Checklist:
Does this PR introduce a user-facing change?
Summary by Bito
This pull request refactors multiple components to improve transaction management by adding tx parameters to method signatures. The changes enhance database operation consistency across deployment configurations, chart services, and pipeline operations while implementing conditional connection assignment based on transaction availability, refining rollback logic, and fixing transaction passing in the pipeline orchestrator to resolve configuration migration issues.