Skip to content

enforce 'yamllint' checks, expand changed-files exclusions - #186

Merged
rapids-bot[bot] merged 5 commits into
NVIDIA:mainfrom
jameslamb:yamllint
Jul 29, 2026
Merged

rapids-bot[bot] merged 5 commits into
NVIDIA:mainfrom
jameslamb:yamllint

Conversation

@jameslamb

Copy link
Copy Markdown
Member

Description

Contributes to rapidsai/build-planning#305

Proposes enforcing yamllint checks here. My primary motivation is to catch correctness issues in dependencies.yaml files, like duplicate entries silently resolving to the last one or indentation mistakes leading to filters being ignored.

But this also has some side benefits for consistency, which makes it a bit easier to write automation.

@jameslamb jameslamb added the improvement Improves an existing functionality label Jul 28, 2026
@jameslamb
jameslamb requested a review from a team as a code owner July 28, 2026 19:16
@jameslamb jameslamb added the non-breaking Introduces a non-breaking change label Jul 28, 2026
@jameslamb
jameslamb requested review from a team as code owners July 28, 2026 19:16
@jameslamb
jameslamb requested a review from gforsyth July 28, 2026 19:16
Comment thread .github/workflows/pr.yaml
files_yaml: |
test_java:
- '**'
- '!.github/CODEOWNERS'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proposing expanding this list, should help avoid some unnecessary CI runs.

Comment thread .pre-commit-config.yaml Outdated
- id: check-symlinks
- id: check-xml
- repo: https://github.com/rapidsai/pre-commit-hooks
rev: v1.5.1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this hook (and maybe others) might be outdated. Feel free to update as part of this PR if you wish.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep it is (the latest is v1.6.1). I just did a pre-commit autoupdate and pushed the updates in b52d71a

The new hook versions didn't require any code changes, just the version bump.

@jameslamb
jameslamb removed the request for review from gforsyth July 29, 2026 15:31
@jameslamb

Copy link
Copy Markdown
Member Author

Tests are failing like this:

Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
/__w/cuvs-lucene/cuvs-lucene/cuvs-workdir/java/cuvs-java/src/main/java22/com/nvidia/cuvs/spi/JDKProvider.java:[368,11] cannot find symbol
  symbol:   method cuvsCagraIndexParamsFromDataset(java.lang.foreign.MemorySegment,long,long,long,int,long)
  location: class com.nvidia.cuvs.spi.JDKProvider

(build link)

Guessing that's what this is trying to fix: #187

I think it'd be fine to admin-merge this change past those failures, once we have a cuvs-lucene-write approval here.

@jameslamb

Copy link
Copy Markdown
Member Author

I've merged in #187, we should hopefully CI pass here.

@jameslamb

Copy link
Copy Markdown
Member Author

Pushing an empty commit to re-trigger CI. @imotov mentioned to me that the failures we're seeing now may be caused by the delay in publishing libcuvs conda packages (fixed in rapidsai/shared-workflows#605).

There are now new packages from https://github.com/rapidsai/workflows/actions/runs/30462211108/job/90636110611

@jameslamb

Copy link
Copy Markdown
Member Author

/merge

@rapids-bot
rapids-bot Bot merged commit c46a6cb into NVIDIA:main Jul 29, 2026
13 checks passed
copy-pr-bot Bot pushed a commit to NVIDIA/cuvs that referenced this pull request Aug 4, 2026
…vs-lucene#186)

Contributes to rapidsai/build-planning#305

Proposes enforcing `yamllint` checks here. My primary motivation is to catch correctness issues in `dependencies.yaml` files, like duplicate entries silently resolving to the last one or indentation mistakes leading to filters being ignored.

But this also has some side benefits for consistency, which makes it a bit easier to write automation.

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Bradley Dice (https://github.com/bdice)
  - Corey J. Nolet (https://github.com/cjnolet)

URL: NVIDIA/cuvs-lucene#186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants