primus.cli.procedure.test_tactus_storage_graphql_artifacts module

Behavior specifications for application-authorized Tactus persistence.

Feature: Procedure lifecycle persistence without workload credentials
Scenario: Start, checkpoint, stop, and resume a procedure

Given a supported Primus Tactus storage adapter and an artifact store When the procedure persists state, Lua state, checkpoints, and dashboard state Then all attachments use one authorized batch, metadata retains compatible keys, and resume restores verified state without constructing an S3 client

Scenario: Legacy attachment metadata has no integrity information

Given a legacy pointer containing only _s3_key When a procedure tries to resume from it Then persistence fails clearly rather than downloading unchecked bytes

primus.cli.procedure.test_tactus_storage_graphql_artifacts.test_procedure_code_keeps_legacy_key_and_loads_only_with_integrity_metadata(monkeypatch)
primus.cli.procedure.test_tactus_storage_graphql_artifacts.test_resume_rejects_legacy_pointer_without_checksum_or_size()
primus.cli.procedure.test_tactus_storage_graphql_artifacts.test_resume_supports_legacy_named_checkpoint_object_format()
primus.cli.procedure.test_tactus_storage_graphql_artifacts.test_start_checkpoint_stop_and_resume_use_graphql_artifacts_without_s3(monkeypatch)