Skip to content

Build/bundle all javascript code and stop using npm on servers #728

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

Open
knazarov opened this issue Apr 1, 2025 · 2 comments
Open

Build/bundle all javascript code and stop using npm on servers #728

knazarov opened this issue Apr 1, 2025 · 2 comments
Assignees

Comments

@knazarov
Copy link
Collaborator

knazarov commented Apr 1, 2025

Currently we don't properly build some of the javascript code into redistributable files, and because of this we have to execute npm on servers in order to start things like block explorer.

This has historically led to problems with instability of npm itself and breakages of ansible provisioning. Even though we've transitioned to pnpm and fixed some of the instabilities, it's still a good idea to pre-build everything.

The block explorer has already been ported, and what's left is:

  • docs_ai_backend
  • ansible (running the pre-built binaries)
@knazarov knazarov mentioned this issue Apr 1, 2025
4 tasks
@ekumamatthew
Copy link
Contributor

Can I work on this, please?

@ukorvl ukorvl self-assigned this Apr 7, 2025
@ukorvl
Copy link
Member

ukorvl commented Apr 7, 2025

Infra is fully migrated to use bundled code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants