Skip to content

feat(arty): introduce runtime facade and core crates - #727

Open
martintmk wants to merge 12 commits into
mainfrom
user/martintmk/20260904-add-arty-runtime-crates
Open

feat(arty): introduce runtime facade and core crates#727
martintmk wants to merge 12 commits into
mainfrom
user/martintmk/20260904-add-arty-runtime-crates

Conversation

@martintmk

Copy link
Copy Markdown
Member

Introduces the initial arty runtime facade and intentionally empty arty_core foundation at version 0.2.0. arty re-exports thread-awareness types through arty::core and exposes selected Tick primitives through independent time and test-util features. It also adds minimal design, I/O, panic-safety, and stabilization policies plus feature-surface tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
@martintmk martintmk added the agency-rocket Touched by a rocket skill label Sep 4, 2026
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown

✅ Version increments look sufficient

cargo semver-checks compared the 2 crate(s) this PR publishes against their previous version-bump commit in git history. Every version increment is sufficient for the detected API changes.

Crate Baseline Baseline commit This PR Minimum required Status
arty new crate 0.2.0 0.2.0 ✅ ok
arty_core new crate 0.2.0 0.2.0 ✅ ok

This check is informational and does not block the merge.

View the check run

@codecov

codecov Bot commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.0%. Comparing base (a312e8b) to head (876a753).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #727   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files         583      583           
  Lines       62930    62930           
=======================================
  Hits        62930    62930           

☔ 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.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Comment thread crates/arty/docs/PANICS.md Outdated
Comment thread crates/arty/docs/PANICS.md Outdated
Comment thread crates/arty/src/lib.rs Outdated
martintmk and others added 4 commits September 4, 2026 11:20
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
Mark arty_core as an intentional private dependency until it exposes foundational runtime contracts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: fefa2c62-c45c-4ede-822b-6d07ab109081
@martintmk
martintmk marked this pull request as ready for review September 4, 2026 14:15
Copilot AI lite review requested due to automatic review settings September 4, 2026 14:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The new public-surface test uses size_of without bringing it into scope, and should be adjusted to avoid relying on implicit availability.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Introduces the initial arty runtime facade crate and an intentionally empty arty_core foundation crate, establishing a small, feature-gated public surface that primarily re-exports existing workspace primitives.

Changes:

  • Added arty and arty_core crates at 0.2.0, including crate docs and packaging/metadata setup.
  • Implemented arty as a facade re-exporting thread_aware_core under arty::core and selected tick types behind time / test-util features.
  • Added public-surface tests to validate the feature-gated facade.
File summaries
File Description
crates/arty/tests/public_surface.rs Adds compile-time surface checks for feature-gated re-exports.
crates/arty/src/lib.rs Defines the arty facade modules and feature-gated re-exports.
crates/arty/README.md Adds generated crate README describing features and policies.
crates/arty/docs/STABILIZATION.md Documents stabilization policy for re-exported dependencies.
crates/arty/docs/PANICS.md Documents panic/unwind safety policy expectations.
crates/arty/docs/IO.md Documents I/O ownership/injection policy.
crates/arty/docs/DESIGN.md Documents high-level design intent.
crates/arty/Cargo.toml Adds crate metadata, features, deps, and external-types allowlist.
crates/arty_core/src/lib.rs Introduces empty foundation crate with crate-level docs.
crates/arty_core/README.md Adds generated README for the foundation crate.
crates/arty_core/Cargo.toml Adds crate metadata and coverage-gate configuration for empty crate.
Cargo.toml Registers arty and arty_core in the workspace dependency set.
Cargo.lock Records new workspace packages in the lockfile.
Review details
  • Files reviewed: 12/13 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +4 to +6
//! Verifies the feature-gated public facade.

#[test]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agency-rocket Touched by a rocket skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants