Skip to content

Removes dependencies on unneeded Serverless Framework - #38

Merged
Exairnous merged 1 commit into
Hubs-Foundation:masterfrom
DougReeder:remove-serverless
Aug 11, 2026
Merged

Removes dependencies on unneeded Serverless Framework#38
Exairnous merged 1 commit into
Hubs-Foundation:masterfrom
DougReeder:remove-serverless

Conversation

@DougReeder

Copy link
Copy Markdown
Member

What?

Removes dependencies on unneeded Serverless Framework

Why?

This is now an Express.js app, not a serverless function, so the Serverless Framework is unneeded.

Compromised versions of axios exist. We don't use it directly, but Serverless Framework does.

Examples

No change to functionality

How to test

  1. Install the image dougreeder/nearspark:remove-serverless-2026-07-17-22-53 in a Hubs instance.
    1. kubectl set image deployment/nearspark nearspark=dougreeder/nearspark:remove-serverless-2026-07-17-22-53
    2. kubectl rollout restart deploy nearspark -n hcce
  2. Follow the nearspark logs with kubectl logs -l app=nearspark -f -n hcce
  3. Open the Sketchfab browser; observe that a thumbnail image is created for each model, and there are no errors in the nearspark logs

Documentation of functionality

No change in behavior.

Limitations

None

Alternative implementations considered

None

Open questions

None

Additional details or related context

Part of Hubs-Foundation/hubs-cloud#384

@DougReeder
DougReeder requested a review from Exairnous July 17, 2026 23:02
@DougReeder DougReeder added dependencies Pull requests that update a dependency file Roadmap: Programming Indicates that this issue/pull request is on the Programming Team roadmap Programming Team Indicates that this issue/pull request relates to the Programming Team labels Jul 17, 2026
@Hubs-Foundation Hubs-Foundation deleted a comment from github-actions Bot Jul 17, 2026

@Exairnous Exairnous left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Left one question on the .gitignore changes, but otherwise everything looks good to me. This does conflict with PR #36, but I'll update that after this is merged.

One nit on the PR description: nearspark has already been checked off in Hubs-Foundation/hubs-cloud#384 so I don't think this PR is part of it?
EDIT 2026-07-29: Perhaps it is part of it since the hubs-cloud version did have serverless removed.

Comment thread .gitignore Outdated
Comment on lines +64 to +65
.idea
image

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Are the additions of .idea and image intended?

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.

Yes. I suppose they should be in a separate commit.

@Exairnous Exairnous Jul 21, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yeah, I think having the .gitignore changes not directly related to the serverless removal in a separate commit would be good.

Though I'm not sure about including image. Why was that added? It seems like it could be a valid folder name someone might pick in the future.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

* Updated/Clarified previous comment.

@Exairnous Exairnous left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@DougReeder Thank you for the update; however, your switch from using npm install to npm ci directly conflicts with PR #36. In light of this, can you please remove those changes? If you think that PR #36 would benefit from the use of the --production flag, I can add it.

@Exairnous Exairnous left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for the update. LGTM. Merging.

@Exairnous
Exairnous merged commit f0a3e80 into Hubs-Foundation:master Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file Programming Team Indicates that this issue/pull request relates to the Programming Team Roadmap: Programming Indicates that this issue/pull request is on the Programming Team roadmap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants