fix: log skipped job and step result as info instead of debug #67

Merged
earl-warren merged 1 commit from earl-warren/act:wip-runner-test into main 2024-11-21 13:25:46 +00:00
Contributor

This allows the Forgejo runner to obtain the job result from the logs even when it is not in debug mode.

Refs: https://codeberg.org/forgejo/forgejo/issues/5939

Note to reviewers: the test does not provide coverage for all the changes, only those related to step results being skipped. I advocate that although incomplete, this is a reasonable effort to provide coverage.

This allows the Forgejo runner to obtain the job result from the logs even when it is not in debug mode. Refs: https://codeberg.org/forgejo/forgejo/issues/5939 Note to reviewers: the test does not provide coverage for all the changes, only those related to step results being skipped. I advocate that although incomplete, this is a reasonable effort to provide coverage.
earl-warren force-pushed wip-runner-test from 2dd8535255
Some checks failed
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 7m3s
checks / integration (pull_request) Failing after 17s
to 8ebe416a9d
Some checks failed
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Failing after 17s
2024-11-21 10:45:44 +00:00
Compare
earl-warren force-pushed wip-runner-test from 8ebe416a9d
Some checks failed
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Failing after 17s
to 18d34b2a0f
All checks were successful
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Successful in 40s
2024-11-21 10:49:45 +00:00
Compare
earl-warren force-pushed wip-runner-test from 54481c3d04
Some checks failed
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Failing after 28s
to f682e89ff0
All checks were successful
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 25s
checks / integration (pull_request) Successful in 28s
2024-11-21 11:55:49 +00:00
Compare
earl-warren force-pushed wip-runner-test from f682e89ff0
All checks were successful
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 25s
checks / integration (pull_request) Successful in 28s
to 6f86daa82b
All checks were successful
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Successful in 28s
2024-11-21 11:57:16 +00:00
Compare
earl-warren force-pushed wip-runner-test from 6f86daa82b
All checks were successful
/ cascade (pull_request_target) Has been skipped
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Successful in 28s
to b87469f77b
Some checks failed
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Successful in 28s
/ cascade (pull_request_target) Has been cancelled
2024-11-21 11:58:51 +00:00
Compare
earl-warren changed title from WIP: fix: log skipped job and step result as info instead of debug to fix: log skipped job and step result as info instead of debug 2024-11-21 11:59:10 +00:00
Contributor

cascading-pr updated at forgejo/runner#348

cascading-pr updated at https://code.forgejo.org/forgejo/runner/pulls/348
viceice left a comment
Owner

otherwise LGTM

otherwise LGTM
@ -17,4 +16,3 @@
container:
image: 'code.forgejo.org/oci/node:20-bookworm'
steps:
- name: cache go path

why removing this? 🤔

why removing this? 🤔
Author
Contributor

I thought to cleanup but it was incomplete, good catch. I put it back.

I thought to cleanup but it was incomplete, good catch. I put it back.
earl-warren marked this conversation as resolved
earl-warren force-pushed wip-runner-test from b87469f77b
Some checks failed
checks / unit (pull_request) Successful in 23s
checks / integration (pull_request) Successful in 28s
/ cascade (pull_request_target) Has been cancelled
to 7efe12afd7
Some checks failed
checks / check and test (pull_request) Successful in 26s
checks / integration (pull_request) Successful in 27s
/ cascade (pull_request_target) Has been cancelled
2024-11-21 12:16:32 +00:00
Compare
Contributor

cascading-pr updated at forgejo/runner#348

cascading-pr updated at https://code.forgejo.org/forgejo/runner/pulls/348
earl-warren force-pushed wip-runner-test from 7efe12afd7
Some checks failed
checks / check and test (pull_request) Successful in 26s
checks / integration (pull_request) Successful in 27s
/ cascade (pull_request_target) Has been cancelled
to fc43985812
Some checks failed
checks / unit (pull_request) Successful in 43s
checks / integration (pull_request) Successful in 33s
/ cascade (pull_request_target) Failing after 21s
2024-11-21 12:18:10 +00:00
Compare
viceice approved these changes 2024-11-21 12:18:57 +00:00
Contributor

cascading-pr updated at forgejo/runner#348

cascading-pr updated at https://code.forgejo.org/forgejo/runner/pulls/348
earl-warren scheduled this pull request to auto merge when all checks succeed 2024-11-21 12:20:34 +00:00
Contributor

cascading-pr updated at forgejo/runner#348

cascading-pr updated at https://code.forgejo.org/forgejo/runner/pulls/348
Author
Contributor

end-to-end had a transient failure in the storage upgrade (failure to populate the cache with tools that sometime fail to download)

https://code.forgejo.org/forgejo/end-to-end/actions/runs/1978

end-to-end had a transient failure in the storage upgrade (failure to populate the cache with tools that sometime fail to download) https://code.forgejo.org/forgejo/end-to-end/actions/runs/1978
earl-warren deleted branch wip-runner-test 2024-11-21 13:25:46 +00:00
Commenting is not possible because the repository is archived.
No reviewers
No milestone
No project
No assignees
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo/act!67
No description provided.