Skip to content

feat: add docker scan#381

Merged
deepak-devtron merged 12 commits intodevelopfrom
deepak-final-branch
Apr 9, 2026
Merged

feat: add docker scan#381
deepak-devtron merged 12 commits intodevelopfrom
deepak-final-branch

Conversation

@deepak-devtron
Copy link
Copy Markdown

@deepak-devtron deepak-devtron commented Apr 1, 2026

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

prakash100198
prakash100198 previously approved these changes Apr 1, 2026
- 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
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 1, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

- 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>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 2, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

…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>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

- 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>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

Shivam-nagar23
Shivam-nagar23 previously approved these changes Apr 8, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

Ash-exp
Ash-exp previously approved these changes Apr 8, 2026
Shivam-nagar23
Shivam-nagar23 previously approved these changes Apr 8, 2026
vikramdevtron
vikramdevtron previously approved these changes Apr 8, 2026
@Shivam-nagar23 Shivam-nagar23 dismissed stale reviews from Ash-exp and themself via fc3bcad April 9, 2026 06:45
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@deepak-devtron deepak-devtron changed the title add docker scan feat: add docker scan Apr 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n

@deepak-devtron deepak-devtron merged commit 2006319 into develop Apr 9, 2026
3 of 5 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.

5 participants