identity
Canonical execution identities for post-MIP nodes.
Functions
Return the candidate count for the currently runnable node contract. |
|
Resolve the currently runnable contract for a compiled post-MIP stage. |
|
Return the producer identity expected for the current post-MIP inputs. |
|
Return the exact node, input, dependency, and source-revision contract. |
|
Hash one already-resolved canonical post-MIP execution contract. |
|
Return the producer identity for one resolved node execution. |
|
Publish a candidate ledger for the active successful MIP execution if needed. |
Bases:
ExecutionIdentityProjectionUnavailableThe current upstream artifacts do not yet define a post-MIP execution.
- expected_post_mip_candidate_count(config, stage_id)
Return the candidate count for the currently runnable node contract.
- Parameters:
config (Mapping[str, Any])
stage_id (str)
- Return type:
int
- expected_post_mip_execution_contract(config, stage_id)
Resolve the currently runnable contract for a compiled post-MIP stage.
- Parameters:
config (Mapping[str, Any])
stage_id (str)
- Return type:
dict[str, Any]
- expected_post_mip_execution_identity(config, stage_id)
Return the producer identity expected for the current post-MIP inputs.
- Parameters:
config (Mapping[str, Any])
stage_id (str)
- Return type:
str
- post_mip_execution_contract(config, node, candidate_set, ledger)
Return the exact node, input, dependency, and source-revision contract.
- Parameters:
config (Mapping[str, Any])
node (CompiledPostMIPNode)
candidate_set (CandidateSet)
ledger (CandidateLedger)
- Return type:
dict[str, Any]
- post_mip_execution_contract_identity(contract)
Hash one already-resolved canonical post-MIP execution contract.
- Parameters:
contract (Mapping[str, Any])
- Return type:
str
- post_mip_execution_identity(config, node, candidate_set, ledger)
Return the producer identity for one resolved node execution.
- Parameters:
config (Mapping[str, Any])
node (CompiledPostMIPNode)
candidate_set (CandidateSet)
ledger (CandidateLedger)
- Return type:
str
- prepare_post_mip_candidate_ledger(config)
Publish a candidate ledger for the active successful MIP execution if needed.
- Parameters:
config (Mapping[str, Any])
- Return type:
None