Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pages build and deployment fails #82

Closed
arai-a opened this issue Aug 13, 2024 · 6 comments
Closed

pages build and deployment fails #82

arai-a opened this issue Aug 13, 2024 · 6 comments
Labels

Comments

@arai-a
Copy link
Owner

arai-a commented Aug 13, 2024

For some reason, it's failing for a month
https://github.com/arai-a/ecma262-compare/actions/runs/10362864852/job/28685559943

this time I don't see error around exceeding the space.

@arai-a arai-a added the bug label Aug 13, 2024
@arai-a
Copy link
Owner Author

arai-a commented Aug 13, 2024

https://github.com/arai-a/ecma262-compare/actions?page=2&query=workflow%3Apages-build-deployment++

The last successful run was last month. it took 11m 59s
https://github.com/arai-a/ecma262-compare/actions/runs/9884316359

The next one fails with disk space issue
https://github.com/arai-a/ecma262-compare/actions/runs/9886177159

System.IO.IOException: No space left on device : '/home/runner/runners/2.317.0/_diag/Worker_20240711-054717-utc.log'

The next one is cancelled
https://github.com/arai-a/ecma262-compare/actions/runs/9896128948

Canceling since a higher priority waiting request for pages build and deployment @ gh-pages exists

The next one has the same error message as the latest one above
https://github.com/arai-a/ecma262-compare/actions/runs/9896567247

The hosted runner lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.

@arai-a
Copy link
Owner Author

arai-a commented Aug 13, 2024

The size of history is 4.4G right now, which should fit the limit mentioned in #65

Site disk usage 11.5GB exceeds 10.0GB limit

"Upload artifact - Archive artifact" step seems to be taking much time.

possible reasons would be:

  • too many files
  • there's some problematic file

so far, performed GC for obsolete PRs and pushed.
https://github.com/arai-a/ecma262-compare/actions/runs/10372411676

@arai-a arai-a added the infra label Aug 13, 2024
@arai-a
Copy link
Owner Author

arai-a commented Aug 13, 2024

one thing I noticed is that the recent revisions has asset directory with fonts and additional JS files, which may be causing issue.

other possible options would be:

  • drop old revisions (the current first rev is 5c8b8d726564c03d94b53981e766a87135ff01b6, which is from 2017-01-12)
  • somehow omit images from each revision (images don't take much space for each revision, but in most case they're same, and there are ~10 files for each revision

I'll look into de-duplicating img and asset directories

@arai-a
Copy link
Owner Author

arai-a commented Aug 13, 2024

@arai-a arai-a added backend and removed infra labels Aug 13, 2024
@arai-a
Copy link
Owner Author

arai-a commented Aug 13, 2024

Deduplicate most of assets by 098ae01

@arai-a arai-a removed the bug label Aug 13, 2024
@arai-a
Copy link
Owner Author

arai-a commented Aug 13, 2024

This time also passes.
Closing for now

@arai-a arai-a closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant