Skip to content

Make parsers inherit from schema_salad.metaschema#413

Draft
GlassOfWhiskey wants to merge 6 commits into
mainfrom
inherit-from-metaschema
Draft

Make parsers inherit from schema_salad.metaschema#413
GlassOfWhiskey wants to merge 6 commits into
mainfrom
inherit-from-metaschema

Conversation

@GlassOfWhiskey

Copy link
Copy Markdown
Collaborator

This commit regenerates CWL parsers by making them inherit from the schema_salad.metaschema package, ensuring that different CWL versions share common ancestors in their class hierarchies.

BREAKING CHANGE: parsers do not inherit from cwltool extensions anymore. If you want to use CWL extensions within your project, you have to generate your own parsers.

@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch 3 times, most recently from e221e24 to 016e95f Compare April 25, 2026 09:33
@codecov

codecov Bot commented Apr 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 77.01863% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.66%. Comparing base (a466f42) to head (6348db7).

Files with missing lines Patch % Lines
src/cwl_utils/parser/cwl_v1_2_utils.py 57.14% 9 Missing and 3 partials ⚠️
src/cwl_utils/parser/cwl_v1_1_utils.py 61.53% 9 Missing and 1 partial ⚠️
src/cwl_utils/parser/cwl_v1_0_utils.py 73.07% 7 Missing ⚠️
src/cwl_utils/cwl_v1_0_expression_refactor.py 50.00% 1 Missing and 1 partial ⚠️
src/cwl_utils/cwl_v1_1_expression_refactor.py 50.00% 1 Missing and 1 partial ⚠️
src/cwl_utils/cwl_v1_2_expression_refactor.py 60.00% 1 Missing and 1 partial ⚠️
src/cwl_utils/parser/__init__.py 93.33% 1 Missing ⚠️
src/cwl_utils/parser/utils.py 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #413      +/-   ##
==========================================
- Coverage   37.77%   37.66%   -0.12%     
==========================================
  Files          50       49       -1     
  Lines       36760    31972    -4788     
  Branches     9531     8202    -1329     
==========================================
- Hits        13886    12041    -1845     
+ Misses      19941    17559    -2382     
+ Partials     2933     2372     -561     

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

@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch 4 times, most recently from f7c6fbb to 2cf65d6 Compare April 25, 2026 11:10
This commit regenerates CWL parsers by making them inherit from
the `schema_salad.metaschema` package, ensuring that different
CWL versions share common ancestors in their class hierarchies.

BREAKING CHANGE: parsers do not inherit from cwltool extensions
anymore. If you want to use CWL extensions within your project,
you have to generate your own parsers.
@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch 8 times, most recently from 0855b5f to ff375b6 Compare June 24, 2026 21:07
@GlassOfWhiskey GlassOfWhiskey force-pushed the inherit-from-metaschema branch from ff375b6 to 6348db7 Compare June 25, 2026 17:19
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