( ctx context.Context, record RunIdempotency, )
| 1313 | } |
| 1314 | |
| 1315 | func (s *approvalAliasFailureStore) SaveTaskRunIdempotency( |
| 1316 | ctx context.Context, |
| 1317 | record RunIdempotency, |
| 1318 | ) error { |
| 1319 | if record.IdempotencyKey == s.failKey { |
| 1320 | return errors.New("approval alias persistence failed") |
| 1321 | } |
| 1322 | return s.inMemoryManagerStore.SaveTaskRunIdempotency(ctx, record) |
| 1323 | } |
| 1324 | |
| 1325 | func TestManagerTaskBlockLifecycleRejectsSecretMaterial(t *testing.T) { |
| 1326 | t.Parallel() |
nothing calls this directly
no test coverage detected