Skip to content

Ona devcontainer and automations setup#1381

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

Ona devcontainer and automations setup#1381
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 reproducible development environment for the pnpm monorepo:

- Dev Container based on the javascript-node:22 image, with shellcheck and
  shfmt installed (required by the server test suite) and pnpm pinned to the
  version in .tool-versions.
- Ona automations for install, compile, test, and lint, mirroring the CI
  workflow.

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 (e04b4e1).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1381   +/-   ##
=======================================
  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.

@mads-hartmann mads-hartmann deleted the ona/devcontainer-setup branch June 8, 2026 19:02
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.

1 participant