mirror of
https://github.com/priyanshujain/messageboardbench.git
synced 2026-10-02 19:17:07 +00:00
Support immutable local SWE image IDs
This commit is contained in:
1 parent
69c5793562
commit
1428c2b08e
9 files changed
+129
-43
No files matched your search
@@ -103,6 +103,7 @@ def test_environment_validation_uses_preserved_snapshot(tmp_path, monkeypatch):
|
||||
"manifest_sha256": digest(archived_manifest),
|
||||
"validated_image": "image",
|
||||
"validated_image_id": "image-id",
|
||||
"validated_image_ref": "repo-digest",
|
||||
"validated_repo_digest": "repo-digest",
|
||||
}],
|
||||
}
|
||||
@@ -110,7 +111,8 @@ def test_environment_validation_uses_preserved_snapshot(tmp_path, monkeypatch):
|
||||
from messageboardbench import swe_prerequisites
|
||||
monkeypatch.setattr(swe_prerequisites, "validate_task_manifest", lambda *args, **kwargs: {
|
||||
"image": "image",
|
||||
"remote_image": {"id": "image-id", "repo_digests": ["repo-digest"]},
|
||||
"remote_image": {"id": "image-id", "repo_digests": ["repo-digest"],
|
||||
"immutable_ref": "repo-digest"},
|
||||
})
|
||||
|
||||
assert matches(manifest, frozen, tmp_path / "run")
|
||||
|
||||
Reference in new issue
Block a user