Commit 626727b
authored
fix(ci): remove isStaleCiRun to prevent ci pr hang on SSH host-key prompt (#10300)
Follow-up to #10297. The new \`isStaleCiRun\` helper runs \`git fetch
origin\` inside the hash-mismatch retry path. In the \`bit_pr\` CircleCI
job, \`origin\` is the default SSH remote and GitHub's host key isn't
seeded in \`known_hosts\` for that job's shell — so the fetch hits an
interactive "yes/no" host-key prompt and hangs the job until the
50-minute step timeout (seen on #10257). The \`bit_merge\` job avoids
this only because it rewrites \`origin\` to an HTTPS+token URL via
\`update_ssh_agent\`; \`bit_pr\` does not.
\`isStaleCiRun\` was added during PR review to guard a hypothetical
race: an older CI run finishing later could delete a newer run's lane
and re-export stale snaps. In practice that race is unlikely,
self-correcting (the next CI run on the latest commit publishes the
correct lane), and only affects a PR lane — not main. Removing the guard
restores the original simple retry from #10297, which is enough.1 parent cdba458 commit 626727b
1 file changed
Lines changed: 0 additions & 32 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
856 | 856 | | |
857 | 857 | | |
858 | 858 | | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | 859 | | |
868 | 860 | | |
869 | 861 | | |
| |||
889 | 881 | | |
890 | 882 | | |
891 | 883 | | |
892 | | - | |
893 | | - | |
894 | | - | |
895 | | - | |
896 | | - | |
897 | | - | |
898 | | - | |
899 | | - | |
900 | | - | |
901 | | - | |
902 | | - | |
903 | | - | |
904 | | - | |
905 | | - | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | | - | |
910 | | - | |
911 | | - | |
912 | | - | |
913 | | - | |
914 | | - | |
915 | | - | |
916 | 884 | | |
917 | 885 | | |
918 | 886 | | |
| |||
0 commit comments