GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — CI quality gates are non-enforcing (masked linters, no-op test-schema, silent release diff) · Issue #1242 · GenomicsStandardsConsortium/mixs

CI quality gates are non-enforcing (masked linters, no-op test-schema, silent release diff) #1242

New issue
Copy link
New issue
Copy link
Open
Open
CI quality gates are non-enforcing (masked linters, no-op test-schema, silent release diff)#1242
Copy link

Description

@turbomam
turbomam
opened on Jul 2, 2026
Issue body actions

CI runs several quality checks that cannot fail the build, so real problems pass silently.

Non-enforcing gates

  • linkml-lint ends in || true (Makefile:121), so schema lint errors never fail make all or make test.
  • yaml-lint ends in || true (Makefile:125), so YAML violations never fail the build. The GitHub Action also runs non-strict (.github/workflows/lint-yaml.yaml:20, yamllint_strict: false).
  • test-schema is a no-op (Makefile:114-115): it prints a message instead of checking that the schema still generates.
  • The release workflow masks diff generation with || echo (.github/workflows/create-release-pr.yaml:121), so a release PR can be created without the schema diff.

Prerequisite: fix the schema lint errors that un-masking would surface

linkml lint currently reports these (masked by || true). They should be fixed before removing the mask:

  • nose_throat_disord aliases: is a scalar (src/mixs/schema/mixs.yaml:10007); should be a list.
  • gradient_position example values are unquoted integers (- value: 1 / - value: -1, around src/mixs/schema/mixs.yaml:14836-14837); example values should be strings. Same pattern for gradient_pos_rel_am, isotopolog_atom_frac, nucleobase_atom_frac.
  • A few comments: fields are scalars where a list is expected (for example soil_conductivity, isotopolog, and classes MimsMisip, MimarksCMisip).

Hardening

  • CI matrix tests Python 3.10 only (.github/workflows/main.yaml), though pyproject.toml declares python = "^3.10".
  • .github/workflows/lint-yaml.yaml:16 uses an unpinned karancode/yamllint-github-action@master; pin to a commit SHA.

Suggested order

  1. Fix the schema lint errors above.
  2. Remove || true from linkml-lint; decide whether yaml-lint should enforce or stay advisory.
  3. Remove || echo from the release diff step so a failed diff fails the release PR.
  4. Enable test-schema (or a lighter validate-only variant).
  5. Add a Python version matrix and pin the yamllint action.

Note: verifying that committed generated artifacts match a fresh build is tracked separately in #1240.

Activity

  1. turbomam commented on Jul 2, 2026

    @turbomam
    turbomam
    on Jul 2, 2026
    MemberAuthor
    More actions

    Add to the hardening list: CI does not install yq; it relies on yq being preinstalled on the ubuntu-latest runner. The build hard-depends on mikefarah yq v4 (about 30 Makefile uses), so this dependency is both implicit and unpinned, and a runner image change could break the build silently.

    Fix: install a pinned yq version explicitly in the workflows (or provision it in make install) instead of relying on the runner's preinstalled copy. Documenting the same prerequisite for local developers is tracked in #1105.

  2. turbomam
    added a commit that references this issue on Jul 2, 2026

    frame the CI yq assumption as time-of-writing, not a guarantee (Copil…

    bbab366
  3. turbomam commented on Jul 27, 2026

    @turbomam
    turbomam
    on Jul 27, 2026
    MemberAuthor
    More actions

    The masked-linters part is fixed in #1226. || true is gone from linkml-lint and yaml-lint in the Makefile and from the LinkML workflow, and yamllint_strict is now true. Both linters were verified clean against main first, so nothing changed except that a future problem will now fail the check.

    Two parts remain:

    1. test-schema is a no-op. It is @echo "Schema re-generation in test phase eliminated due to long run time", so make test reports a passing schema test that never ran.
    2. The release diff is still silent.

    One thing for whoever picks this up: making a check fail is only half of gating. There is no branch protection on main, so a red check still does not prevent a merge. See #1275.

  4. turbomam commented on Jul 30, 2026

    @turbomam
    turbomam
    on Jul 30, 2026
    MemberAuthor
    More actions

    Consolidating five issues that describe one condition from different angles, so there is a single place to track it.

    issue what it says resolution
    #1240 committed artifacts are stale and CI does not verify them verification widened in #1376; the staleness itself is deliberate and now written down in releasing.md
    this one masked linters, no-op test-schema, silent release diff masked linters fixed in #1226; the rest is the required-checks change below
    #1275 make LinkML linting gate merges the `
    #1303 regeneration job reports success while artifacts stay stale the job is removed in #1376; it pushed to main, which branch protection refuses, so it never committed anything here
    #1331 verification checks only one file closed by #1376
    #1352 no status check is required to merge the required-checks change below

    The remaining action for all of them is requiring status checks on main: actionlint, Analyze Python, Dependency Review, Yamllint, test (3.13), zizmor.

    Two checks are deliberately excluded. LinkML Linting and Verify generated artifacts are path-filtered, and a required check that never reports leaves a pull request permanently unmergeable. The documentation preview is also excluded because it is skipped on fork pull requests.

    These will be closed once #1376 merges and the branch protection is set.

    Analysis was AI-assisted and reviewed by me.

  5. turbomam commented on Jul 31, 2026

    @turbomam
    turbomam
    on Jul 31, 2026
    MemberAuthor
    More actions

    Resolved. The masked linters were fixed in #1226, and main now requires six status checks to merge: actionlint, Analyze Python, Dependency Review, Yamllint, test (3.13) and zizmor. LinkML Linting and the documentation preview are deliberately excluded, the first because it is path-filtered and a required check that never reports blocks a pull request forever, the second because it is skipped on pull requests from forks.

  6. turbomam
    closed this as completedon Jul 31, 2026
  7. turbomam
    reopened this on Jul 31, 2026
  8. turbomam commented on Jul 31, 2026

    @turbomam
    turbomam
    on Jul 31, 2026
    MemberAuthor
    More actions

    Reopening: I closed this earlier today claiming it was resolved, and it was not. Three of the four items in the body are done, one is not, and my change introduced a fourth problem.

    Done

    • linkml-lint and yaml-lint no longer end in || true (Turn on automated security checks and add a reporting policy #1226).
    • The release workflow no longer masks diff generation with || echo; that is gone from create-release-pr.yaml.
    • main now requires six status checks to merge.

    Not done

    test-schema is still a no-op. Makefile:138:

    test-schema:
    	@echo "Schema re-generation in test phase eliminated due to long run time"

    It is a prerequisite of test, so make test runs a target that prints a sentence. The stated reason, run time, is real: a full regeneration is about 14 minutes. A validate-only variant would cover the intent without the cost.

    Introduced by the required-checks change

    I added zizmor to the required list. It cannot fail. Both meaningful steps in .github/workflows/zizmor.yml are continue-on-error: true, deliberately, so findings go to code scanning rather than blocking a merge. So requiring that check adds no protection, and reads as though it does.

    Two ways to resolve that, and it needs a decision rather than a quiet edit:

    1. Drop zizmor from the required list, leaving it as a reporting workflow, which is what it was designed to be.
    2. Let the Run zizmor step fail the job while leaving the SARIF upload non-blocking. It currently reports zero findings and the tool version is pinned, so this would not turn red unexpectedly.

    Analysis was AI-assisted and reviewed by me.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.