question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

separate agd build process from runtime files

See original GitHub issue

What is the Problem Being Solved?

Our work with agd to date involves building from source: git clone ...; yarn && yarn build and the like.

We have yet to document a result from the build process that can be copied from a build host to a deployment host.

Description of the Design

Perhaps a tarball that could be installed in /usr/local similar to installing go?

We would have to identify the necessary set of files. Perhaps the built agoric-sdk directory suffices? But agd itself typically goes in ~/go/bin; would that be a post-unpack step?

Which platforms to support? How portable is the result of a yarn build?

stretch goal

  • support unattended installation with tools such as cosmovisor.

Security Considerations

This would reduce some risk involved in the yarn && yarn build step, which relies on various scripts from npm to be well-behaved. We do have checksums in our yarn.lock file that give reasonable assurance that the same scripts we routinely run in ci and development would be run by customers.

Test Plan

Build a release artifact and try it out in places like a blank ubuntu docker container.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mhofmancommented, Nov 8, 2022

I am not sure how portable some of the node addons are between linux versions. I do remember running into issues between Ubuntu/debian major versions, probably because of some dynamically linked libraries.

0reactions
dckccommented, Nov 16, 2022

In a cosmic-swingset meeting today, we agreed to de-emphasize the “binary” goal and emphasize the goal of building on one host and deploying on another.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Executing one Java program from another using Runtime ...
You have to compile .java file first and launch it later: Compile (class containing the main method): javac Tester.java. Launch:
Read more >
Can Java execute batch file outside of current JVM in separate ...
Hi, Does anyone know how to run programs from Java as separate processes that will not die when the spawning java program exits...
Read more >
Installing the IBM UrbanCode Deploy server in interactive mode
Specify the installation directory for the server. The default server installation directory is /opt/ucd/server on Linux and C:\Program Files\ucd\server on ...
Read more >
Failed to initialize container · Issue #687 - GitHub
Describe the bug. Toolbox fails to start after an upgrade and a reboot. This seems to be a different error than #669, and...
Read more >
Software Engineering For Automated Game Design - arXiv
In this paper we investigate the challenges of building AGD systems that work directly with code, and envisage an AGD system designed to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found