← Về thư mục
tests/test_compaction_externalize_retrieval.py
- _observation_messages · function · L50-L55 — def _observation_messages(body: str) -> list[dict]
- _assert_marker_has_no_host_paths · function · L58-L65 — def _assert_marker_has_no_host_paths(text: str, archive: dict, tmp_path: Path) -> None
- test_workspace_blob_is_retrievable_without_absolute_paths · function · L68-L95 — def test_workspace_blob_is_retrievable_without_absolute_paths(tmp_path)
- test_workspace_none_matches_pre_retrieval_baseline · function · L98-L109 — def test_workspace_none_matches_pre_retrieval_baseline(tmp_path)
- test_identical_content_writes_the_workspace_blob_once · function · L112-L132 — def test_identical_content_writes_the_workspace_blob_once(tmp_path)
- test_compaction_policy_forwards_workspace_from_provider · function · L135-L160 — def test_compaction_policy_forwards_workspace_from_provider(monkeypatch)
- fake_externalize · function · L138-L140 — def fake_externalize(messages, archive_dir, **kwargs)
- boom · function · L156-L157 — def boom(_state)
- test_artifact_archiver_marker_includes_host_artifact_path · function · L163-L177 — def test_artifact_archiver_marker_includes_host_artifact_path(): # Same-session context Artifacts are saved before the marker is built, so # host.artifact_path(version_id) resolves without materialise_artifact.
- _marker_python_snippet · function · L180-L187 — def _marker_python_snippet(text: str) -> tuple[str, str]
- test_kernel_reads_externalized_workspace_blob · function · L190-L205 — def test_kernel_reads_externalized_workspace_blob(tmp_path)
- test_a_torn_write_leaves_no_file_at_the_digest_path · function · L215-L244 — def test_a_torn_write_leaves_no_file_at_the_digest_path(tmp_path, monkeypatch)
- no_space · function · L224-L226 — def no_space(_fd): # The bytes are written; the flush to disk is what fails.
- test_a_torn_file_at_the_digest_path_is_repaired · function · L247-L268 — def test_a_torn_file_at_the_digest_path_is_repaired(tmp_path)
- test_a_foreign_blob_is_replaced_only_under_the_host_archive · function · L271-L296 — def test_a_foreign_blob_is_replaced_only_under_the_host_archive(tmp_path)
- test_a_symlink_loop_at_the_context_dir_costs_only_the_kernel_copy · function · L299-L312 — def test_a_symlink_loop_at_the_context_dir_costs_only_the_kernel_copy(tmp_path)
- test_a_users_own_prompt_after_a_cancelled_cell_stays_inline · function · L315-L337 — def test_a_users_own_prompt_after_a_cancelled_cell_stays_inline(tmp_path)
- test_a_fifo_at_the_digest_path_cannot_block_the_turn · function · L340-L366 — def test_a_fifo_at_the_digest_path_cannot_block_the_turn(tmp_path)
- test_a_symlink_at_the_digest_path_is_neither_followed_nor_endorsed · function · L369-L388 — def test_a_symlink_at_the_digest_path_is_neither_followed_nor_endorsed(tmp_path)
- test_a_component_swapped_for_a_symlink_after_the_name_check_is_refused · function · L392-L423 — def test_a_component_swapped_for_a_symlink_after_the_name_check_is_refused( tmp_path, monkeypatch, swapped )