Skip to content

fix(ci): generate vendor tree before lint - #207

Merged
paralin merged 1 commit into
masterfrom
fix/controllerbus-ci-vendor
Aug 12, 2026
Merged

fix(ci): generate vendor tree before lint#207
paralin merged 1 commit into
masterfrom
fix/controllerbus-ci-vendor

Conversation

@paralin

@paralin paralin commented Aug 10, 2026

Copy link
Copy Markdown
Member

The Tests workflow installs dependencies with lifecycle scripts disabled, so lint reaches its configured vendor-mode loader without the repository's ignored vendor tree and fails before analyzing source.

This change runs the existing vendor script explicitly before Go commands, completes the checksums needed by the tool bootstrap, and resolves the YAML findings that the loader failure masked. The YAML cleanup checks narrow integer conversions, removes unreachable private remnants, and adds directive coverage for supported and malformed input.

The generated vendor tree remains ignored and untracked. Existing module versions and public YAML APIs do not change.

The Tests workflow suppresses package lifecycle scripts during dependency
installation, so lint reaches its configured vendor-mode package loader
without the repository's ignored vendor tree. Package loading then fails
before golangci-lint can analyze source.

Run the existing vendor script explicitly before caching tools or executing
Go commands. Complete the checksums needed by the Aptre bootstrap and resolve
the YAML findings that the loader failure previously masked.

Keep the YAML parser and emitter behavior stable while checking each narrow
integer conversion. Remove only unreachable private libyaml remnants and
behavior-preserving lint findings. Directive coverage pins supported version
and escaped tag URI behavior, including malformed input errors.

The generated vendor tree remains ignored and untracked. Existing module
versions, public YAML APIs, and serialized YAML and JSON representations do
not change.

Signed-off-by: Christian Stewart <christian@aperture.us>
@paralin
paralin merged commit e33a57b into master Aug 12, 2026
8 checks passed
@paralin
paralin deleted the fix/controllerbus-ci-vendor branch August 12, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant