Skip to content

Release v0.18.0 - #59

Merged
jay-m-dev merged 87 commits into
mainfrom
develop
Dec 2, 2026
Merged

jay-m-dev merged 87 commits into
mainfrom
develop

Conversation

@jay-m-dev

@jay-m-dev jay-m-dev commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

What's changed

  • Export a published experiment as a portable ZIP containing its configuration and input assets, excluding run results and connection credentials. Import into a new editable draft on the same or another ASAREE server.
  • Register imported resources using the same native validation, transactions, and storage as manual creation. Independent registration failures are collected together; failed batches roll back their staged resources.
  • Resolve duplicate names explicitly by reusing an existing resource or registering the incoming resource under a validated new name. Compare persona prompts, text and binary asset contents, and resource summaries before deciding. Dataset reuse requires matching source data, target, and pinned splits.
  • Preserve chosen resource identities throughout graph reconstruction, factor references, retries, cancellation, and recovery. External connections remain pending for local setup and destination discovery.
  • Keep registered skills immutable and prevent deleting skills referenced by retained experiment or execution state, with corresponding SDK behavior.
  • Preserve immutable dataset sources and split history, pin dataset inputs to publications and attempts, and consolidate managed storage references. Replace derived SQLite row indexes with bounded PostgreSQL access.
  • Automatically prepare application storage and repair legacy ownership before backups and migrations. Run application commands and health probes under the checkout owner's non-root UID/GID, with optional runtime overrides for custom deployments. Keep Vite runtime writes outside retained dependencies and allow a configurable API startup health grace period.
  • Correct published export detection and result-summary refresh scoping without rewriting published experiments or run evidence.

Upgrade notes

  • This release uses Motoro v0.16.0, including transaction-aware resource registration. Rebuild the API, workers, migration services, and frontend from the tagged release and its frozen lockfile.
  • For a standard local installation, select this release and run docker compose up -d --build. Keep your existing environment file and encryption key; this release adds no required settings for the standard Compose deployment. Compose prepares storage, takes pre-migration database snapshots when needed, and applies Motoro's migrations before ASAREE's automatically. Keep an independent coordinated backup of both databases and managed files before upgrading; the built-in database snapshots do not replace that backup strategy.
  • ASAREE's new migration head is f23b45c67d89. The release includes immutable dataset splits, artifact locations, dataset input references, PostgreSQL row indexes, package imports, skill references, and result-refresh repair. The file-aware dataset migration needs the existing dataset storage at its original configured root, which standard Compose already mounts. Custom paths or existing files outside the expected root can stop migration and require operator correction. Missing files and hash mismatches remain explicit evidence problems; migration does not infer historical execution inputs from newly observed bytes.
  • Normal local Compose installs and upgrades automatically create data/ and backups/ and repair their ownership. No manual chown or UID/GID configuration is required. Existing ASAREE_UID/ASAREE_GID settings remain honored as optional runtime overrides, and existing accounts, credentials, experiments, and file contents are preserved. The preparer does not follow symlinks, cross nested mounts, or touch PostgreSQL storage. Custom/external mounts and user-namespace mappings remain operator-managed. Ownership changes to hard-linked files are refused explicitly.
  • Experiment portability uses ZIP packages. The unreleased tar.gz import/export format is not supported. Imported experiments are drafts and require local credentials/connections and normal validation before publication and execution.
  • Registered skills are immutable. Register a new skill for changed contents; deletion remains blocked while retained experiment or execution state references the skill. The optional uv run python -m asaree.services.skill_references audit diagnoses unavailable retained skill references. Repair affected drafts and republish rather than guessing missing historical content.
  • Older published experiments without recorded dataset input pins cannot start new whole-dataset executions under the new provenance rules. Republish their editable draft to pin the intended inputs before starting new runs. Existing experiment definitions, publications, and recorded results are preserved; migration does not invent historical input evidence.
  • Review the README's storage, migration, container ownership, and startup instructions before deployment. Deployment is a separate operation and is not performed by this release.

Validation

  • Release promotion: PR #59. Release commit: 3df2102d6820e5052f6ccaf1833dbf395c30ea30. Final release-commit CI passed.
  • Release-candidate CI passed: 2,355 backend regression tests (3 skipped), 14 statistical validation tests, and 687 frontend tests. The manual full-suite run also passed during Motoro integration.
  • Docker smoke tests passed on the same source tree as the release commit: fresh setup, private legacy files, a Compose up upgrade with old root writers finishing shutdown, host access to files, unchanged external mounts, Vite readiness with retained root-owned dependencies, inferred IDs, macOS-style IDs 501:20, and explicit runtime overrides without rebuilding.
  • Local checks passed: 222 installed-Motoro integration tests (4 PostgreSQL cases skipped), 15 SDK checks, 18 storage/launcher tests, the Vite filesystem regression, and all 687 frontend tests. Lockfile consistency, frontend type checking, affected lint, and whitespace checks passed. The Results navigation test's asynchronous assertion passed 30 isolated runs after its timing assumption was reproduced and corrected.
  • Database and Docker verification used the explicitly approved GitHub CI fallback because local PostgreSQL and container execution were unavailable. Physical Mac Docker Desktop behavior, browser appearance, and live inference remain unverified; provider integration tests use deterministic responses.
  • Existing backend mypy and frontend lint warnings remain non-blocking. uv also reports the existing locked Mako 1.4.0 as yanked because it installs an erroneous tools package; the Motoro tag update did not change that dependency.

Full changelog: v0.17.0...v0.18.0

jay-m-dev and others added 30 commits November 4, 2026 18:13
Synchronize v0.17.0 release into develop
docs: scope and optimize agent instructions
docs: record shared dataset storage and provenance design
Implement EpistasisLab/ASAREE_Issues#67 with immutable partition artifacts, split provenance, owner-scoped history and selection, and legacy migration.
Mount managed dataset storage in the migration service and preserve unavailable external registrations instead of aborting on stale pytest paths. Add upgrade and rollback regression coverage.
…lits

Preserve immutable dataset split history and provenance
Pin dataset inputs to experiment versions and execution attempts
Consolidate managed storage configuration, references, and migration
Replace SQLite row indexes with bounded PostgreSQL access
Jay Moran and others added 28 commits November 20, 2026 23:07
…ackages

Streamline portable ZIP experiments and native resource registration
Pin released Motoro v0.16.0 for ASAREE v0.18.0
Automate Compose storage preparation and host identity
…timing

Wait for the Results neighbor query in the navigation test
@jay-m-dev
jay-m-dev marked this pull request as ready for review December 2, 2026 02:17
@jay-m-dev
jay-m-dev merged commit 3df2102 into main Dec 2, 2026
7 checks passed
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