Skip to content

Fix/release tracks production readiness - #487

Merged
seansica merged 7 commits into
betafrom
fix/release-tracks-production-readiness
Jul 30, 2026
Merged

Fix/release tracks production readiness#487
seansica merged 7 commits into
betafrom
fix/release-tracks-production-readiness

Conversation

@seansica

Copy link
Copy Markdown
Contributor

No description provided.

seansica added 5 commits July 30, 2026 00:25
Enforce tagged-version uniqueness with a database partial index, return a typed conflict for concurrent release races, and add a fail-closed migration for existing and orphan track collections.
Validate exact primary content at request, release, clone, materialization, import, and export boundaries. Return structured missing references instead of persisting or rendering partial release data.
Clear per-track Mongoose models when the in-memory database is dropped so later specs do not recreate indexes for collections that no longer exist.
Guard tagged revisions from authoritative snapshot history and make backref reconciliation required, durable, observable, and repairable after partial failures.
Require administrator authorization and exact track confirmation for member replacement and full-track deletion. Persist actor-attributed audit events before execution and expose durable identifiers when finalization fails.
@seansica seansica self-assigned this Jul 30, 2026
@codecov-commenter

codecov-commenter commented Jul 30, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 86.61568% with 350 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.19%. Comparing base (e2dd402) to head (86d11ed).

Files with missing lines Patch % Lines
.../services/release-tracks/graph-manifest-service.js 85.05% 79 Missing and 2 partials ⚠️
app/services/stix/bundle-graph-resolver.js 84.00% 73 Missing and 2 partials ⚠️
...ase-tracks/release-track-audit-event.repository.js 56.00% 33 Missing ⚠️
...p/services/release-tracks/bundle-import-service.js 25.00% 24 Missing ⚠️
.../services/release-tracks/reconciliation-service.js 84.89% 21 Missing ⚠️
...rvices/release-tracks/destructive-audit-service.js 55.55% 20 Missing ⚠️
app/services/release-tracks/snapshot-service.js 70.49% 18 Missing ⚠️
...-tracks/release-track-reconciliation.repository.js 83.80% 17 Missing ⚠️
app/services/stix/relationships-service.js 91.01% 15 Missing ⚠️
app/services/meta-classes/base.service.js 91.57% 8 Missing ⚠️
... and 10 more
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             beta     #487      +/-   ##
==========================================
+ Coverage   79.29%   80.19%   +0.90%     
==========================================
  Files         230      241      +11     
  Lines       34808    36477    +1669     
  Branches     4041     4381     +340     
==========================================
+ Hits        27600    29254    +1654     
- Misses       7138     7139       +1     
- Partials       70       84      +14     

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

seansica added 2 commits July 30, 2026 14:13
Retain database-enforced release version uniqueness while treating existing beta track collections as disposable development state.
Persist exact primary, relationship, and secondary revisions in snapshot graph manifests. Pin relationship endpoints, protect referenced revisions, and add migration tooling for existing data.

Make persisted snapshot history immutable by removing direct contents and historical metadata mutation routes. Limit snapshot deletion to the latest untagged draft and align the API contract, tests, and documentation.
@seansica
seansica merged commit dd46e43 into beta Jul 30, 2026
4 checks passed
@seansica
seansica deleted the fix/release-tracks-production-readiness branch July 30, 2026 20:02
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.20.0-beta.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants