Ona devcontainer and automations setup#1382
Draft
mads-hartmann wants to merge 1 commit into
Draft
Conversation
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 Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
Collaborator
|
Looks good! Can you update the vscode env secret while you are here? :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.