Skip to content
This repository was archived by the owner on Feb 6, 2026. It is now read-only.

feat(luminork): add install_from_file to luminork - #8251

Merged
sprutton1 merged 2 commits into
mainfrom
feat/si/upload-spec
Jan 12, 2026
Merged

sprutton1 merged 2 commits into
mainfrom
feat/si/upload-spec

Conversation

@sprutton1

@sprutton1 sprutton1 commented Jan 12, 2026 •

Copy link
Copy Markdown
Contributor

How does this PR change the system?

This more or less copies the same functionality over from SDF to allow uploading json pkgspecs (like those generated by clover) via the API. Adding this capability to the cli will follow-on from here.

Screenshots:

Created a script to test various spec shapes against a local luminork

Test Results
All 5 tests pass:
- ✓ Missing pkg_spec field → 400
- ✓ Invalid JSON → 400
- ✓ Valid JSON missing fields → 400
- ✓ Empty schemas array → 400
- ✓ Valid PkgSpec upload → 200

How was it tested?

  • Integration tests pass

Does it require a docs change?

  • No
  • Yes, and this PR includes it
  • Yes, and this PR does not include it (reasoning below)

In short: 🔗

@github-actions

Copy link
Copy Markdown

There are luminork endpoint changes on this branch that do not appear to have associated tests. Please ensure you add or update tests under bin/si-luminork-api-tests/tests/ to satisfy this warning.

@github-actions

github-actions Bot commented Jan 12, 2026 •

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

Scanned Files

None

@sprutton1
sprutton1 force-pushed the feat/si/upload-spec branch from 81facae to 1430d59 Compare January 12, 2026 21:04
@sprutton1
sprutton1 force-pushed the feat/si/upload-spec branch from 1430d59 to 4cd63c8 Compare January 12, 2026 21:29
@sprutton1 sprutton1 changed the title stuff feat(luminork): add install_from_file to luminork Jan 12, 2026
This more or less copies the exact functionality supported by SDF so we
can add this capability to the cli.
@sprutton1
sprutton1 force-pushed the feat/si/upload-spec branch from 4cd63c8 to da56773 Compare January 12, 2026 21:34
@sprutton1

Copy link
Copy Markdown
Contributor Author

/try

@github-actions

github-actions Bot commented Jan 12, 2026 •

Copy link
Copy Markdown

Okay, starting a try! I'll update this comment once it's running...
🚀 Try running here! 🚀

@sprutton1
sprutton1 marked this pull request as ready for review January 12, 2026 22:02
@sprutton1
sprutton1 requested a review from stack72 January 12, 2026 22:02
}

// 20MB upload limit for module files
const MAX_UPLOAD_BYTES: usize = 1024 * 1024 * 20;

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.

Swish

@sprutton1
sprutton1 enabled auto-merge January 12, 2026 22:13
@sprutton1
sprutton1 added this pull request to the merge queue Jan 12, 2026
Merged via the queue into main with commit 5fad374 Jan 12, 2026
5 checks passed
@sprutton1
sprutton1 deleted the feat/si/upload-spec branch January 12, 2026 22:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants