[FORGEJO] when a workflow decode error happen, log and do not crash #54

Merged
earl-warren merged 1 commit from earl-warren/act:wip-decode-fatal into main 2024-09-15 16:35:43 +00:00
Contributor
No description provided.
[FORGEJO] when a workflow decode error happen, log and do not crash
Some checks failed
checks / check and test (pull_request) Successful in 6m57s
/ cascade (pull_request) Failing after 14s
a7db265415
Contributor

Cascade of tests using this pull request of ACT

Cascade of tests using this pull request of ACT * runner tests https://code.forgejo.org/forgejo/runner/pulls/268 * setup-forgejo tests https://code.forgejo.org/actions/setup-forgejo/pulls/150 * end-to-end tests https://code.forgejo.org/forgejo/end-to-end/pulls/273
viceice approved these changes 2024-09-15 14:14:38 +00:00
Dismissed
viceice left a comment
Owner

otherwise LGTM

otherwise LGTM
@ -45,3 +45,3 @@
run: go build -tags WITHOUT_DOCKER -v ./...
- name: test
run: go test -v ./pkg/jobparser
run: go test -v ./pkg/jobparser ./pkg/model

why this?

why this?
Author
Contributor

because the tests in pkg/model were not run before.

because the tests in `pkg/model` were not run before.

should we use ./... to run all tests?

should we use `./...` to run all tests?
Author
Contributor

I don't think it will work but I forgot why. I opened a pull request for that at #55

I don't think it will work but I forgot why. I opened a pull request for that at https://code.forgejo.org/forgejo/act/pulls/55
Author
Contributor

There are a few dozen failures, fixing them is probably not rocket science but out of scope for that PR, IMHO.

There are a few dozen failures, fixing them is probably not rocket science but out of scope for that PR, IMHO.
viceice dismissed viceice's review 2024-09-15 14:14:56 +00:00
Reason:

accidentally

viceice approved these changes 2024-09-15 14:57:47 +00:00
earl-warren deleted branch wip-decode-fatal 2024-09-15 16:35:43 +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!54
No description provided.