Skip to content

Add sandbox engine integration and per-job executor overrides#19

Open
interstella5555 wants to merge 11 commits intomainfrom
feat/srt-per-job-engine-impl
Open

Add sandbox engine integration and per-job executor overrides#19
interstella5555 wants to merge 11 commits intomainfrom
feat/srt-per-job-engine-impl

Conversation

@interstella5555
Copy link
Copy Markdown
Contributor

Summary

  • introduce sandbox engine support (Anthropic SRT-backed) in Opal execution engine selection
  • add per-job engine overrides in Opal config with global-engine fallback semantics
  • keep pipeline behavior GitLab-compatible while exposing executor overrides through Opal config
  • keep service execution on container engines and reject unsupported sandbox+services combinations explicitly
  • align runtime/config path handling with XDG defaults ($HOME/.config/opal, $HOME/.local/share/opal) and related tests
  • split CI test intent cleanly:
    • unit-tests runs unit/bin tests
    • e2e-tests runs integration/e2e Rust tests (plus existing pipeline fixture coverage)
  • fix MCP tool test isolation/race issues for deterministic CI

Validation

  • full local Opal pipeline run succeeded on this branch
  • run id: gitlab-ci-a405c531
  • result: 9 ok / 0 failed / 0 skipped

Notes

  • this PR keeps GitLab YAML semantics intact and limits override behavior to Opal config (no Opal-only GitLab keyword extensions).

@cloudflare-workers-and-pages
Copy link
Copy Markdown
Contributor

cloudflare-workers-and-pages Bot commented Apr 8, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

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

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
opal db90f0d Apr 15 2026, 09:07 AM

@PI-Victor PI-Victor force-pushed the feat/srt-per-job-engine-impl branch 3 times, most recently from 4e2eed2 to d69a2d4 Compare April 13, 2026 21:45
…port

Introduce a dedicated sandbox executor path with per-job runtime settings, wire per-job engine selection through planning/execution, and inject service host aliases via container runtime add-host flags for non-privileged jobs. Update CLI/config/runtime docs and MCP/help surfaces for the new behavior and parity notes.
Execute extended-tests and e2e-tests through a temp-repo wrapper to keep fixture writes out of the main checkout. Also harden workspace snapshot handling by skipping synthetic snapshot commits when the copied workspace uses a gitdir file (linked worktree), preventing source-repo HEAD updates from job snapshots.
Skip copying root .git gitdir-pointer files into job snapshots and keep writable permission checks focused on copied entries. This prevents snapshot git activity from resolving to source-repo refs when running from linked worktrees, while preserving GitLab pipeline semantics and updating local-parity docs.
Remove workspace snapshot commit writes during job workspace preparation so local runs do not mutate repository refs. Keep .git pointer-file exclusion for linked worktrees and update parity/storage docs to match the new behavior.
@PI-Victor PI-Victor force-pushed the feat/srt-per-job-engine-impl branch from d69a2d4 to f41e021 Compare April 15, 2026 05:13
@PI-Victor PI-Victor force-pushed the feat/srt-per-job-engine-impl branch from f41e021 to db90f0d Compare April 15, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants