Skip to content

misc: Release candidate v0.46.0#390

Merged
prkhrkat merged 42 commits into
mainfrom
release-candidate-v0.46.0
Apr 20, 2026
Merged

misc: Release candidate v0.46.0#390
prkhrkat merged 42 commits into
mainfrom
release-candidate-v0.46.0

Conversation

@prkhrkat
Copy link
Copy Markdown
Contributor

No description provided.

SATYAsasini and others added 30 commits March 23, 2026 13:47
Added AssumeRoleArn field across all services that interact with ECR:

common-lib:
- helmLib/registry: Configuration bean + extractCredentialsForRegistry
- utils/bean: DockerAuthConfig.AssumeRoleArnEcr
- utils/dockerOperations: LoadEcrCredentials with AssumeRole

kubelink:
- gRPC proto: AssumeRoleArn field (tag 15) on RegistryCredential
- adapter: pass AssumeRoleArn to registry Configuration

ci-runner:
- DockerCredentials struct + DockerLogin: STS AssumeRole before ECR auth
- CommonWorkflowRequest: AssumeRoleArn field
- GetDockerAuthConfigForPrivateRegistries: pass ARN
- Added log lines for cross-account login confirmation

image-scanner:
- DockerArtifactStore model: AssumeRoleArn field
- RoundTripperService: STS AssumeRole in GetAuthenticatorByDockerRegistryId
The DockerCredentials literal in StartDockerDaemonAndDockerLogin was
missing AssumeRoleArn, causing ec2rolecreds fallback failure in pods.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Move DockerfileScanRequest and ScanConfig to dedicated bean file
- Remove polling logic from InitiateDockerfileScan (fail-fast)
- Handle filepath.Abs error and improve error logging
- Add panic recovery to asynchronous scan goroutine
- Remove unused IgnoredRules field and cleanup code
- CI-Runner now blindly trusts Orchestrator's decision
- Removed: DockerfileScanEnabled OR ForceDockerfileScan check
- Now uses: DockerfileScanEnabled only (Orchestrator computes OR logic)
- Orchestrator passes pre-computed shouldScan in DockerfileScanEnabled field
- This ensures single source of truth for scan decision

Architecture:
- Orchestrator: Decides (userEnabled OR orgForced)
- CI-Runner: Executes blindly (no decision logic)
- Image-Scanner: Executes blindly (no decision logic)

Part of Phase 1: Simplified Dockerfile scan architecture

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…tManager build error

- Added tests for Success, MissingFile, and ServerError scenarios in DockerfileScanHelper
- Fixed pre-existing compilation error in GitManager_test.go (CloneAndCheckout signature mismatch)
- Tests verify scan request payload, error handling, and graceful degradation

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
- Remove duplicate endpoint definition by reusing PubSubConfig
- Remove unnecessary flags (DockerfileScanEnabled/ForceDockerfileScan) from request payload
- Reduce log noise by removing redundant error handling in non-critical path

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
@prkhrkat prkhrkat merged commit 3b3d6d0 into main Apr 20, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants