Repository navigation
Commit 670ed8c
authored
test(feature-processor): Isolate pipeline names to fix flaky integ tests (#6095)
The feature processor to_pipeline integ tests hardcoded fixed pipeline
names (pipeline-name-01, pipeline-name-lf-01) and thus shared fixed S3
paths (s3://.../<pipeline_name>/function/payload.pkl). Combined with the
asymmetric-signing scheme introduced in PR #5816 (each to_pipeline call
generates a fresh ECDSA key pair, overwrites the signed payload, and
pins the matching public key into the pipeline env), concurrent CI
builds on the same account overwrite each other's payloads. A running
execution then verifies a payload signed by a different build's key,
producing DeserializationError: "Integrity check for the serialized
function or data failed" and pipeline execution status Failed.
Generate unique pipeline names via unique_name_from_base so each test
run and build uses an isolated S3 prefix, and restore cleanup_pipeline
in the finally blocks to avoid resource leakage.1 parent 1a22381 commit 670ed8c
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
684 | | - | |
| 685 | + | |
685 | 686 | | |
686 | 687 | | |
687 | 688 | | |
| |||
791 | 792 | | |
792 | 793 | | |
793 | 794 | | |
794 | | - | |
| 795 | + | |
795 | 796 | | |
796 | 797 | | |
797 | 798 | | |
| |||
810 | 811 | | |
811 | 812 | | |
812 | 813 | | |
813 | | - | |
| 814 | + | |
814 | 815 | | |
815 | 816 | | |
816 | 817 | | |
| |||
946 | 947 | | |
947 | 948 | | |
948 | 949 | | |
| 950 | + | |
949 | 951 | | |
950 | 952 | | |
951 | 953 | | |
| |||
959 | 961 | | |
960 | 962 | | |
961 | 963 | | |
962 | | - | |
| 964 | + | |
963 | 965 | | |
964 | 966 | | |
965 | 967 | | |
| |||
1175 | 1177 | | |
1176 | 1178 | | |
1177 | 1179 | | |
| 1180 | + | |
1178 | 1181 | | |
1179 | 1182 | | |
1180 | 1183 | | |
| |||
0 commit comments