You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
The GitHub Actions setup has two follow-up improvements worth tackling together:
speed up or stabilize e2e runs by caching reusable DefectDojo/Postgres state
resolve current warnings / shell issues in the publish workflow summary step
Problem 1: e2e workflow startup cost
The integration workflow relies on make test-e2e, which spins up DefectDojo plus Postgres via Docker Compose. When the Postgres volume is fresh, initialization work adds noticeable overhead.
Current setup details:
support/integration/docker-compose.yml uses a named Docker volume for Postgres (defectdojo_postgres)
GitHub-hosted runners are ephemeral, so that volume is recreated on every job
.github/workflows/test.yml currently does not run the real command yet (echo make test-e2e), but when re-enabled it would always start from a cold DB
Proposal for e2e caching
Investigate switching the Postgres data volume to a cacheable bind mount under the workspace, then use actions/cache to persist it between runs.
Suggested acceptance criteria:
e2e workflow runs the real make test-e2e
Postgres data is stored in a path that can be cached by GitHub Actions
Summary
The GitHub Actions setup has two follow-up improvements worth tackling together:
Problem 1: e2e workflow startup cost
The integration workflow relies on
make test-e2e, which spins up DefectDojo plus Postgres via Docker Compose. When the Postgres volume is fresh, initialization work adds noticeable overhead.Current setup details:
support/integration/docker-compose.ymluses a named Docker volume for Postgres (defectdojo_postgres).github/workflows/test.ymlcurrently does not run the real command yet (echo make test-e2e), but when re-enabled it would always start from a cold DBProposal for e2e caching
Investigate switching the Postgres data volume to a cacheable bind mount under the workspace, then use
actions/cacheto persist it between runs.Suggested acceptance criteria:
make test-e2eProblem 2: publish workflow warnings / summary step issues
.github/workflows/publish.ymlcurrently has a fragile summary step:if/elsebranches are malformed / indentation-sensitiveuvxguidance should be reviewed while fixing the stepProposal for publish workflow cleanup
Refactor the summary-writing logic to avoid fragile heredocs and eliminate the warnings / shell pitfalls.
Suggested acceptance criteria:
publish.ymlwrites the summary without heredoc parsing issuesNotes
This issue is intentionally scoped to workflow reliability and DX, not to changing the runtime package behavior.