mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-24 00:51:31 +01:00
Job-log tree.json step now recommends a 5-second sleep so slow-stamping runners still reuse CI results (GST-3339) (#4589)
When a repository's artifact storage is full, gstack's reuse of CI test results reads tree.json from one log line, and the docs' `sleep 2` after that line was too short on a Ubicloud runner, so gstack refused the run and fell back to running tests locally. The docs, the troubleshooting entry and the refusal's fix line now say `sleep 5`, and a new test checks the documented sleeps against GitHub's whole-second step times. Repositories that copied the old step should change `sleep 2` to `sleep 5`. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
ebc867422e
commit
0adfab9dd9
5 files changed
+48
-5
No files matched your search
@@ -428,7 +428,7 @@ export const RELEASE_RESULT_CODES = {
|
||||
CI_CARRY_TREE_LOG_UNBOUND: {
|
||||
anchor: 'ci-carry-tree-log-unbound',
|
||||
summary: 'a CI run with no tree.json artifact (artifact storage full) has one GSTACK_TREE_JSON line in its job log, but the runner did not stamp it inside the step the run profile names in tree_log_step, at least a second after every earlier step ended and a second before every later one started, or that step is missing, repeated or did not succeed; a line printed anywhere else (a test, for one) is never evidence',
|
||||
fix: 'print the line only from the step tree_log_step names, after the test step, with sleep 1 before it and sleep 2 after it (docs/pregate.md#tree-log-step); then dispatch a fresh run at the same head and rerun gstack-ci-carry wait',
|
||||
fix: 'print the line only from the step tree_log_step names, after the test step, with sleep 1 before it and sleep 5 after it (docs/pregate.md#tree-log-step); then dispatch a fresh run at the same head and rerun gstack-ci-carry wait',
|
||||
},
|
||||
CI_CARRY_RERUN_MALFORMED: {
|
||||
anchor: 'ci-carry-rerun-malformed',
|
||||
|
||||
Reference in new issue
Block a user