
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@automationcloud/worker
Advanced tools
Worker embeds @automationcloud/engine
and integrates with the rest of automationcloud.net to be able to execute jobs.
Follow instructions from @automationcloud/autopilot
README.
Setup environment by copying .env.exmaple
to .env
and modifying it to fit your needs.
You'll need Redis to run tests. You can run one with Docker:
docker run --name=ub-redis -p 6379:6379 redis
To build worker image, run npm run docker:build-worker
in Project root (not here).
Sometimes we deploy multiple different worker images simultaneously (e.g. to allow scripts to be migrated, or to test experimental stuff). In this case we allocate different worker tags to each deployment, so that different services can be routed to specific worker image for execution. We refer to a group of worker containers sharing the same worker tag as "worker pool".
Worker tag is defined by WORKER_TAG
variable. We use stable
for "main" pool.
Chromium needs a relatively large /dev/shm
partition (200MB or bigger) to run properly. With Docker use --shm-size
option, with k8s it is possible to mount a tmpfs volume:
volumes:
- emptyDir:
medium: Memory
name: dshm
A quick way to test if container has sufficient /dev/shm
is:
kubectl exec -it worker-udf-6c8795fb78-xf5cf sh
$ df -h
...
tmpfs 1.8G 16M 1.8G 1% /dev/shm
If it's something around 100MB or less, then Chrome will start crashing for obscure reasons soon.
See LICENSE.
FAQs
UBIO Automation Worker
We found that @automationcloud/worker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.