Skip to content

Ona devcontainer and automations setup#1382

Draft
mads-hartmann wants to merge 1 commit into
bash-lsp:mainfrom
mads-hartmann:ona/devcontainer-setup
Draft

Ona devcontainer and automations setup#1382
mads-hartmann wants to merge 1 commit into
bash-lsp:mainfrom
mads-hartmann:ona/devcontainer-setup

Conversation

@mads-hartmann

Copy link
Copy Markdown
Collaborator

Description

This PR configures the repository's development environment with a Dev Container and Ona tasks/services.

A Dev Container is a checked-in environment definition that describes the container image, runtimes, tools, and editor configuration needed to work in this repository. Ona tasks and services are checked-in automations in .ona/automations.yaml: tasks run repeatable one-shot workflows such as dependency installation, checks, and builds, while services run long-lived development processes such as app servers, preview servers, or databases.

This is useful to merge because it makes environment startup and common development workflows reproducible for contributors and agents, instead of relying on local machine state or undocumented setup steps.

Ona automated this setup while creating or tuning the project so future development starts faster and the repository is easier to work on in new environments.

Configure a Node 22 dev container with pnpm 10.12.1 (matching
.tool-versions) plus shellcheck and shfmt, which the Jest test
suite requires. Add automations for install, compile, test, and a
watch service for incremental TypeScript builds.

Co-authored-by: Ona <no-reply@ona.com>
@codecov

codecov Bot commented Jun 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 80.56%. Comparing base (e46e4a6) to head (4424b41).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1382   +/-   ##
=======================================
  Coverage   80.56%   80.56%           
=======================================
  Files          29       29           
  Lines        1513     1513           
  Branches      374      374           
=======================================
  Hits         1219     1219           
  Misses        235      235           
  Partials       59       59           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@skovhus

skovhus commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Looks good! Can you update the vscode env secret while you are here? :)

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

Successfully merging this pull request may close these issues.

2 participants