Skip to content

Consolidate graphql-orm companion crates into one workspace - #10

Merged
Dastari merged 114 commits into
mainfrom
agent/monorepo-consolidation
Jul 29, 2026
Merged

Consolidate graphql-orm companion crates into one workspace#10
Dastari merged 114 commits into
mainfrom
agent/monorepo-consolidation

Conversation

@Dastari

@Dastari Dastari commented Jul 29, 2026

Copy link
Copy Markdown
Owner

What changed

  • Imported the complete graphql-orm-storage, graphql-orm-backup, and
    graphql-orm-ai histories beneath crates/ using history-preserving path
    rewrites.
  • Converted all five packages to one Cargo workspace and one root lockfile.
  • Replaced internal Git pins with workspace path dependencies while keeping
    agql-auth external and pinned to its exact reviewed revision.
  • Kept storage, backup, and AI as independent packages rather than core
    graphql-orm feature gates.
  • Added dependency-source enforcement, consolidated CI, managed SMB coverage,
    release-policy/SemVer gates, and consumer migration guidance.
  • Advanced graphql-orm-backup from 0.6.0 to 0.7.0 and graphql-orm-ai from
    0.57.0 to 0.58.0 for the pre-1.0 dependency identity boundary. Storage
    remains 0.6.0, ORM/macros remain 0.16.0, and AI schema remains 0.51.0.

Why

The companion crates depend on one another and on graphql-orm. Separate
repositories forced agents and consumers to coordinate exact Git revisions and
could create duplicate public type universes. The workspace makes cross-crate
changes atomic while preserving independently selectable crates and an acyclic
dependency graph.

Consumer impact

Git consumers should move the selected packages to
https://github.com/Dastari/graphql-orm.git, pin every selected package to the
same full revision, remove old internal repository patches, and regenerate
Cargo.lock. No database or AI schema migration is required for the repository
move.

Validation

  • Verified every imported tracked file against its clean source checkpoint
    before integration.
  • Passed Cargo formatting, workspace source enforcement, dependency-tree
    review, warnings-denied Clippy and Rustdoc, package/default tests, AI
    provider/local-harness and PascalCase tests, alternate SQLite/PostgreSQL/
    MSSQL/storage feature lanes, AI test-owned PostgreSQL parity, and the managed
    real-Samba lifecycle/reconnect suite.
  • Re-ran committed-tree AI and backup tests after the final version changes.
  • Passed cargo-semver-checks against the imported backup 0.6.0 and AI 0.57.0
    baselines.
  • Passed the AI release-policy gate against the imported AI checkpoint.

The original repositories remain intact, clean, and synchronized;
archival/redirect work should happen only after this candidate is accepted.

Toby Martin and others added 30 commits May 14, 2026 01:45
…estore sink

- Optional orm feature: OrmBackupAdapter bridges GraphqlOrmBackupRuntime to
  the GraphqlOrmBackupAdapter contract (schema snapshots, consistent full
  export, empty-target detection, full restore, replace-existing clearing)
- OrmBackupObjectIndex derives a BackupObjectIndex from one object metadata
  table plus the application's primary BlobStore
- BlobStoreRestoreObjectSink rehydrates a blob store at original storage keys
- delete_snapshot removes one snapshot under the writer lock with object GC
- BackupError::Database carries adapter failures with operation context
- Verification and object writes iterate owned pairs so futures stay Send
- Reference sibling crates by git URL so the crate resolves from GitHub

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Hosts can exclude or redact columns whose database types the graphql-orm
export cannot round-trip yet (for example PostGIS geometry) without editing
entity metadata, which would change migration-planning inputs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Release graphql-orm-backup 0.3.1 with exact reviewed graphql-orm and graphql-orm-storage revisions.
- Add `agql-auth` and `graphql-orm-macros` skill guidance
- Add the `rust-skills` rule set and supporting docs
Toby Martin and others added 28 commits July 27, 2026 09:15
Merge the reviewed graphql-orm 0.15 integration and bump graphql-orm-backup from 0.4.0 to 0.5.0.
Merge the reviewed graphql-orm 0.16 and agql-auth 0.12 dependency alignment, including the graphql-orm-backup 0.6.0 version bump.
@Dastari
Dastari marked this pull request as ready for review July 29, 2026 04:47
@Dastari
Dastari merged commit 3b20a94 into main Jul 29, 2026
8 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