Skip to content

feat(creator): add shared artifact version and provenance details - #321

Open
Mijaelx wants to merge 4 commits into
krillinai:developfrom
Mijaelx:codex/artifact-version-provenance
Open

Mijaelx wants to merge 4 commits into
krillinai:developfrom
Mijaelx:codex/artifact-version-provenance

Conversation

@Mijaelx

@Mijaelx Mijaelx commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Creator result selection currently resets to the latest version in several workspaces, and artifact history has no shared provenance view. This adds a reusable “Artifact versions and sources” panel inside CreatorCollaborationPanel and persists historical project-result selection through the existing Command Dispatcher.

  • Shows artifact version, creation time, status, generation snapshot/Action/Stage, upstream sourceArtifactIds, current selection, and evidence-backed stale explanations.
  • Adds select-result-version with revision checks, active-stage protection, Activity and Receipt persistence. Reuses state.resultVersion; preserves all historical artifacts, snapshots, and stale flags.
  • Connects existing result menus/workspaces to persisted selection. Historical artifact downloads remain authenticated, including stale files without snapshot references.
  • Provides bounded text/subtitle comparison by line number and native side-by-side media previews. No new dependencies, DAG, or automatic retry.

Validation performed:

  • Web and Daemon typechecks and builds.
  • Targeted Dispatcher, registry, API/persistence, shared panel, adapter and affected workspace tests, including image/cover reuse and failed-command handling.
  • Real Chromium Browser/Desktop Bridge parity test with matching viewport: detail text/dimensions, command payload, reload persistence, historical download and preview.

Limits: artifacts without a result snapshot are browse/download-only. Text comparison supports up to 200,000 characters and displays 2,000 lines; it does not align inserted/deleted lines. Packaged Electron App, embedded Web hashes, full test suite and live Providers were not validated. This PR does not claim release readiness.

CI dependency fix: upgrade sharp to 0.35.4 in workspace and packaged runtime, override vulnerable ws 8.x to 8.21.0, and remove unused toml (configuration already uses @iarna/toml). npm registry audit now reports 0 high/critical vulnerabilities (24 low/moderate remain). Both frozen lockfiles, 25 targeted tests, Daemon typecheck and compilation passed locally. Packaged Electron was not revalidated.

CI test corrections: Dashboard's in-memory service now handles select-result-version and the history assertion waits for command completion (38 Dashboard tests and Web typecheck passed). Whisper parity now checks the actual host capabilities instead of assuming the Ubuntu runner is Windows; the full Windows save flow passed locally. The preceding CI run passed the full unit/integration suite, typechecks, builds and smoke; 10/11 browser parity tests passed before the host-specific assertion was corrected.

Final CI: https://github.com/krillinai/OpenCreator/actions/runs/34955220464 passed on 25103f7, including dependency audit, full tests, typechecks, builds, smoke, all Browser/Desktop Bridge parity checks and performance gates. Packaged Electron and embedded-resource hash verification remain outside this CI run.

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