Skip to content

test: add snapshot caching test for localhost images#260

Open
claude-claude[bot] wants to merge 1 commit intoenable-localhost-snapshotsfrom
claude/fix-21742514234
Open

test: add snapshot caching test for localhost images#260
claude-claude[bot] wants to merge 1 commit intoenable-localhost-snapshotsfrom
claude/fix-21742514234

Conversation

@claude-claude
Copy link
Contributor

@claude-claude claude-claude bot commented Feb 6, 2026

Auto-Fix for PR #259

Issues Fixed

  • [CRITICAL] Missing snapshot test coverage for localhost images

Changes

Added test_localhost_snapshot_caching() to verify that localhost/ images support snapshot cache hit/restore functionality enabled in PR #259.

The test:

  1. Builds a localhost image
  2. First run creates a snapshot (cache miss)
  3. Second run restores from snapshot (cache hit)

This ensures the CAS-cached image archive path remains stable across snapshot restore operations.

Test Plan

make test-root FILTER=test_localhost_snapshot_caching

Generated by Claude | Review Run

Add test_localhost_snapshot_caching() to verify that localhost/ images
support snapshot cache hit/restore functionality enabled in PR #259.

The test:
1. Builds a localhost image
2. First run creates a snapshot (cache miss)
3. Second run restores from snapshot (cache hit)

This ensures the CAS-cached image archive path remains stable across
snapshot restore operations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

0 participants