Skip to content

📂 fix: Enable Hidden File Upload for GitNexus Index Artifact#12597

Merged
danny-avila merged 1 commit into
devfrom
fix/gitnexus-artifact-upload
Apr 9, 2026
Merged

📂 fix: Enable Hidden File Upload for GitNexus Index Artifact#12597
danny-avila merged 1 commit into
devfrom
fix/gitnexus-artifact-upload

Conversation

@danny-avila

@danny-avila danny-avila commented Apr 9, 2026

Copy link
Copy Markdown
Owner

Summary

I fixed the GitNexus Index CI workflow failing to upload the .gitnexus/ artifact due to upload-artifact@v4 silently skipping dotfiles by default.

  • Add include-hidden-files: true to the artifact upload step in gitnexus-index.yml, scoped to the .gitnexus/ path so only GitNexus index files are affected.
  • Resolve the root cause of the deploy workflow failing with Artifact not found for name: gitnexus-index-main — the index was being built successfully but the upload produced zero artifacts because .gitnexus is a hidden directory.

Change Type

  • Bug fix (non-breaking change which fixes an issue)

Testing

Re-run the GitNexus Index workflow via workflow_dispatch on main and verify:

  1. The gitnexus-index-main artifact appears in the workflow run's artifact list with .gitnexus/ contents (.gitnexus/meta.json, .gitnexus/lbug)
  2. The GitNexus Deploy workflow can successfully download the artifact in the subsequent workflow_run trigger

Test Configuration:

  • GitHub Actions runner: ubuntu-latest
  • Node.js: 24
  • actions/upload-artifact@v4

Checklist

  • My code adheres to this project's style guidelines
  • I have performed a self-review of my own code
  • My changes do not introduce new warnings

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.
Copilot AI review requested due to automatic review settings April 9, 2026 20:37

Copilot AI left a comment

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.

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: true for 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.

@danny-avila danny-avila changed the title fix: enable hidden file upload for .gitnexus artifact 📂 fix: Enable Hidden File Upload for GitNexus Index Artifact Apr 9, 2026
@danny-avila
danny-avila changed the base branch from main to dev April 9, 2026 21:02
@danny-avila
danny-avila merged commit cc8ce15 into dev Apr 9, 2026
4 checks passed
@danny-avila
danny-avila deleted the fix/gitnexus-artifact-upload branch April 9, 2026 21:02
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants