Skip to content

Shared build-and-test CI fails on current integration baseline #411

@hjotha

Description

@hjotha

Summary

The shared build-and-test workflow currently fails in make test-integration for PRs that otherwise pass local make build, make test, and make lint-go.

Reproduction

On current origin/main, run:

make build
go test ./cmd/mxcli/tui -run TestWatcherDebounce -count=20 -v
CGO_ENABLED=0 go test -tags integration -count=1 -timeout 30m ./mdl/executor -run 'TestRoundtripNanoflow_(Loop|EnumParameter|Annotations)|TestMxCheck_DoctypeScripts/02b-nanoflow-examples.mdl|TestMxCheck_DoctypeScripts/03-page-examples.mdl' -v

Observed failures include:

  • TestWatcherDebounce can emit two debounced messages under slow CI scheduling.
  • 02b-nanoflow-examples.mdl uses stale call/change syntax and references a missing module role.
  • Nanoflow integration fixtures use stale retrieve, enum-parameter, and annotation syntax.
  • 03-page-examples.mdl and the nanoflow showcase produce known consistency errors that are showcase limitations, but the test allowlist does not include them.

Expected

The baseline integration suite should be stable so feature/fix PRs are evaluated on their own changes.

Validation

A candidate fix passed:

make build
go test ./cmd/mxcli/tui -run TestWatcherDebounce -count=20 -v
./bin/mxcli check mdl-examples/doctype-tests/02b-nanoflow-examples.mdl
CGO_ENABLED=0 go test -tags integration -count=1 -timeout 30m ./mdl/executor -run 'TestRoundtripNanoflow_(Loop|EnumParameter|Annotations)|TestMxCheck_DoctypeScripts/02b-nanoflow-examples.mdl|TestMxCheck_DoctypeScripts/03-page-examples.mdl' -v
make test
make lint-go
make test-integration

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