Melroy van den Berg melroy89
melroy89 commented on issue forgejo/runner#56 2023-07-16 15:42:20 +00:00
Retry button loses previous run data

I think this is a Forgejo UX problem rather than a runner problem. And I also find that unexpected and inconvenient.

Ps. could still…

melroy89 closed issue forgejo/runner#56 2023-07-15 15:06:44 +00:00
Retry button loses previous run data
melroy89 commented on issue forgejo/runner#54 2023-07-15 14:55:01 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

That being said. I think hashFiles can hopefully be fixed in the future.

melroy89 opened issue forgejo/runner#56 2023-07-15 14:54:11 +00:00
Retry button loses previous run data
melroy89 commented on issue forgejo/runner#54 2023-07-15 14:39:19 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

Yup that works:

image

For others that might need this:

      - name: Calculate yarn.lock hash
        id: yarn-lock-hash
 
melroy89 commented on issue forgejo/runner#54 2023-07-15 00:35:03 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

Ow.. I see. But then again, Docker shouldn't be aware of the host location on disk. RIght? So the hashFiles expression should become Docker aware somehow and search the file within the check-out…

melroy89 commented on issue forgejo/runner#54 2023-07-14 23:45:07 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

silently succeeds and displays nothing. But in the log it always fails with Unable to filepath.Walk: lstat /workspace/.... You are correct, it does not look where it should. The evaluation…

melroy89 commented on issue forgejo/runner#54 2023-07-14 23:42:04 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

I think you're on the right track but that's unexpected: I would assume the evaluation happens with a current working directory that is the workspace. Is **/yarn.lock supposed to match…

melroy89 commented on issue forgejo/runner#54 2023-07-14 22:17:47 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

Ow I see.. by default your checkout location (part of checkout action) is not /workspace I think.. But something like /home/codeberg-runner/.cache, right.

But the cache action expects that…

melroy89 commented on issue forgejo/runner#54 2023-07-14 22:14:01 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

This is a problem in hashFiles() I presume?

melroy89 commented on issue forgejo/runner#54 2023-07-14 19:42:43 +00:00
hashFiles fails with Unable to filepath.Walk: lstat /workspace/...

Running action on PR: https://codeberg.org/Kbin/kbin-core/pulls/755

Full runner log:

Jul 14 21:39:26 ubuntu-server forgejo-runner[1852327]: time="2023-07-14T21:39:26+02:00" level=info…