Skip to content

Add checkpoint for alpine and maven#835

Open
malladinagarjuna2 wants to merge 1 commit intoaboutcode-org:mainfrom
malladinagarjuna2:checkpoint-alpine-maven-740
Open

Add checkpoint for alpine and maven#835
malladinagarjuna2 wants to merge 1 commit intoaboutcode-org:mainfrom
malladinagarjuna2:checkpoint-alpine-maven-740

Conversation

@malladinagarjuna2
Copy link

@malladinagarjuna2 malladinagarjuna2 commented Mar 5, 2026

fixes #740
what I did ?
As Both Alpine and Maven pipelines time out after 6 hours when collecting package URLs. When interrupted, they restart from scratch, losing all progress.

Added checkpoint to save/resume support so each pipeline can pick
up where it left off.

  • in Maven: compute SHA-256 checksum of the index file to detect changes between runs. Track the last processed PURL for resume within the index. If the checksum differs on restart, it starts again

  • in Alpine: track the set of new APKINDEX URLs for new resume at the per-URL level. It skips already-processed URLs on restart.

  • Added missing taggit to INSTALLED_APPS which is required by scanpipe migrations and adds default values for VULNERABLECODE, MATCHCODEIO, and PURLDB settings.

  • Fixxed pre-existing test issues in swift and conan tests where leftover mock_write parameters and incorrect
    assertions caused failures.

  • Regenerated expected_packages.json for alpine tests to match current output.

  • Add new test fixtures and tests for checkpoint logic in both Maven and Alpine pipelines.

@malladinagarjuna2 malladinagarjuna2 force-pushed the checkpoint-alpine-maven-740 branch from a9e6b05 to 63fefef Compare March 5, 2026 11:28
Copy link
Author

repected maintainers kindly review my pr

@malladinagarjuna2
Copy link
Author

@JonoYang kindly review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update checkpointing in alpine and maven pipelines

1 participant