Skip to content

test(cpython): bashkit snapshot round-trips python3 output - #2623

Merged
chaliy merged 1 commit into
mainfrom
claude/project-thread-io7h59
Oct 8, 2026
Merged

chaliy merged 1 commit into
mainfrom
claude/project-thread-io7h59

Conversation

@chaliy

@chaliy chaliy commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

What changed

This adds a test that bashkit snapshots work together with CPython. A python3 call writes a file, the shell sets an env var and cwd, and the session is snapshotted. The snapshot is then restored into a new CPython-enabled Bash, where python3 reads all three back.

Why

No test covered the combination. CPython keeps no state between calls, since each call starts fresh from its wasm snapshot, so the VFS and shell state that bashkit snapshots are everything there is to persist. This test locks that in.

Before / After

No behavior change. bashkit_snapshot_round_trips_python_output passes locally.

Risk

  • Low. Test only.

Checklist

  • Tests added or updated
  • Backward compatibility considered

Generated by Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
bashkit 68bc009 Commit Preview URL

Branch Preview URL
Oct 08 2026, 01:42 AM

@chaliy
chaliy merged commit 449a2a2 into main Oct 8, 2026
33 checks passed
@chaliy
chaliy deleted the claude/project-thread-io7h59 branch October 8, 2026 02:07
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.

1 participant