📂 fix: Enable Hidden File Upload for GitNexus Index Artifact#12597
Merged
Conversation
upload-artifact@v4 defaults include-hidden-files to false, which silently skips the .gitnexus/ directory (dotfile). Scoped to the .gitnexus/ path so only index files are affected.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the GitNexus indexing workflow so the generated .gitnexus/ directory is actually included in the uploaded artifact, aligning with actions/upload-artifact@v4’s default behavior of excluding hidden files/directories unless explicitly enabled.
Changes:
- Enable
include-hidden-files: truefor the.gitnexus/artifact upload step. - Keep the scope limited to the
.gitnexus/path so other artifact uploads (if added later) remain unaffected.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
jcbartle
pushed a commit
to jcbartle/LibreChat
that referenced
this pull request
May 11, 2026
…vila#12597) upload-artifact@v4 defaults include-hidden-files to false, which silently skips the .gitnexus/ directory (dotfile). Scoped to the .gitnexus/ path so only index files are affected.
ThomasVuNguyen
pushed a commit
to ThomasVuNguyen/LibreChat
that referenced
this pull request
Jul 15, 2026
…vila#12597) upload-artifact@v4 defaults include-hidden-files to false, which silently skips the .gitnexus/ directory (dotfile). Scoped to the .gitnexus/ path so only index files are affected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
I fixed the GitNexus Index CI workflow failing to upload the
.gitnexus/artifact due toupload-artifact@v4silently skipping dotfiles by default.include-hidden-files: trueto the artifact upload step ingitnexus-index.yml, scoped to the.gitnexus/path so only GitNexus index files are affected.Artifact not found for name: gitnexus-index-main— the index was being built successfully but the upload produced zero artifacts because.gitnexusis a hidden directory.Change Type
Testing
Re-run the GitNexus Index workflow via
workflow_dispatchonmainand verify:gitnexus-index-mainartifact appears in the workflow run's artifact list with.gitnexus/contents (.gitnexus/meta.json,.gitnexus/lbug)workflow_runtriggerTest Configuration:
ubuntu-latestactions/upload-artifact@v4Checklist