{"repo":"JarvusInnovations/background-action","free":true,"listed":false,"github":"https://github.com/JarvusInnovations/background-action","clone":"git clone https://github.com/JarvusInnovations/background-action.git","description":"GitHub Action: run a long-running process (server, emulator, tunnel) in the background and wait until the http endpoints, tcp ports, sockets or files it provides are ready. Output is captured to files, not your job log, and replayed only when you choose, such as on failure. If it dies on startup you fail instantly with its logs.","language":"JavaScript","stars":43,"topics":["background","process","command","wait-on","logging","bg","fg"],"license":"Apache-2.0","category":"networking-infra","readme_excerpt":"background-action Run commands in the background with logging and failure detection. background-action will send your processes to the background once a set of files, ports, sockets or http resources are available. It can optionally tail output until ready/timeout and/or log output stderr/stdout post-run. Purpose Use background-action to bootstrap your system under test to eliminate workflow timeouts, race conditions, and test suite failures when the system fails to start. Specify the resources (http, file, tcp, socket) to wait-on and how long to wait-for before continuing to the next step. tail stdout/stderr while you wait and/or log-output post-run conditionally using log-output-if . What can happen when a system under test running in the background fails to start? - No indication of the cause of failure - Costly workflow timeouts - Spurious test failures - Lost log output background-action addresses these issues directly and was purpose-built to bootstrap your system under test in a discrete step to isolate failures at the source. We hope that it saves you and your team time and reduces frustration in these trying times. Crafted with ❤️ by Jarvus Innovations in Philadelphia Upgrading from v1 v1 keeps working and is unchanged. When you move to v2 , four things behave differently: - Invalid option values now fail the step. tail , log-output , log-output-resume and log-output-if used to match on substrings, so log-output: no-stderr quietly enabled stderr and a typo like sdtou","default_branch":null,"files":null,"tree":[],"storefront":"/r/JarvusInnovations","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JarvusInnovations/background-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}