Skip to content

[CRE] Remove legacy workflow spec factories, v1 artifacts and workflow job paths - #23713

Open
bolekk wants to merge 1 commit into
developfrom
keystone_wasm_cleanup_2
Open

[CRE] Remove legacy workflow spec factories, v1 artifacts and workflow job paths#23713
bolekk wants to merge 1 commit into
developfrom
keystone_wasm_cleanup_2

Conversation

@bolekk

@bolekk bolekk commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Legacy DAG WASM cleanup

  • delete YAMLSpecFactory, WasmFileSpecFactory, WorkflowSpecFactory registry and tests
  • strip WorkflowSpec.Validate/SDKSpec/RawSpec/GetConfig + legacy sdk import; WorkflowSpec is now a plain row model for workflow_specs_v2
  • orm: drop workflow_specs insert, FindJobIDByWorkflow and delete cascade; CreateJob now rejects Workflow with ErrJobTypeRemoved
  • feeds: drop workflow auto-approval lookup and workflow job deletion/cancellation paths
  • delete prod-dead artifacts v1 package; rework job_orm_test and feeds tests
  • remove testdata/wasm legacy guest module, testdata/config.json and .gitignore entries
  • drop stale core/capabilities/compute/** path from CI wasm cache key
  • cmd/cre README: remove dead legacy data_feeds example section
  • system-tests: accept() no longer tolerates already-approved workflow specs

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

CORA - Pending Reviewers

All codeowners have approved! ✅

Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown

For more details, see the full review summary.

@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@github-actions

Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@trunk-io

trunk-io Bot commented Sep 10, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@bolekk
bolekk force-pushed the keystone_wasm_cleanup_2 branch from 718421a to be671e8 Compare September 10, 2026 21:03
@bolekk
bolekk marked this pull request as ready for review September 10, 2026 21:04
@bolekk
bolekk requested review from a team as code owners September 10, 2026 21:04
@bolekk
bolekk marked this pull request as draft September 10, 2026 21:15
…w job paths (L1)

- delete YAMLSpecFactory, WasmFileSpecFactory, WorkflowSpecFactory registry and tests
- strip WorkflowSpec.Validate/SDKSpec/RawSpec/GetConfig + legacy sdk import; WorkflowSpec is now a plain row model for workflow_specs_v2
- orm: drop workflow_specs insert, FindJobIDByWorkflow and delete cascade; CreateJob now rejects Workflow with ErrJobTypeRemoved
- feeds: drop workflow auto-approval lookup and workflow job deletion/cancellation paths
- delete prod-dead artifacts v1 package; rework job_orm_test and feeds tests
- remove testdata/wasm legacy guest module, testdata/config.json and .gitignore entries
- drop stale core/capabilities/compute/** path from CI wasm cache key
- cmd/cre README: remove dead legacy data_feeds example section
- system-tests: accept() no longer tolerates already-approved workflow specs
@bolekk
bolekk force-pushed the keystone_wasm_cleanup_2 branch from be671e8 to a02cc6e Compare September 10, 2026 22:22
@cl-sonarqube-production

Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
48.61% Technical Debt Ratio on New Code (required ≤ 4%)
D Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE SonarQube for IDE

@bolekk
bolekk marked this pull request as ready for review September 10, 2026 22:37
@bolekk
bolekk requested a review from nolag September 10, 2026 23:32
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.

2 participants