Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(runtime&server): support updating dependencies without restarting #1823

Merged
merged 13 commits into from
Feb 5, 2024

Conversation

0fatal
Copy link
Member

@0fatal 0fatal commented Jan 24, 2024

完成这个 feature 需要解决下面的问题:

  1. 清除模块缓存,require 的结果会缓存,需要清除这个缓存
  2. 热更新了依赖需要重新 tar 上传依赖
  3. 需要生成 package.json
  4. 要解决 k8s 目录挂载的写权限问题

Copy link

github-actions bot commented Jan 24, 2024

💥 laf nodejs runtime init image built successfully for pr 1823

ghcr.io/labring/runtime-node-init:pr-1823
docker.io/lafyun/runtime-node-init:pr-1823

digest: sha256:d725f946e2cd3f54da3f21a98809aa16edbe1f892797a5d894ecbea0cb740a67

Copy link

github-actions bot commented Jan 24, 2024

💥 laf server image built successfully for pr 1823

ghcr.io/labring/laf-server:pr-1823
docker.io/lafyun/laf-server:pr-1823

digest: sha256:8631bac80c2064ff9948b8643acf9bf3310363f0dd4ed34928ecda664fc92df0

@0fatal 0fatal changed the title feat(runtime): support updating dependencies without restarting feat(runtime&server): support updating dependencies without restarting Jan 24, 2024
Copy link

github-actions bot commented Jan 24, 2024

💥 laf nodejs runtime image built successfully for pr 1823

ghcr.io/labring/runtime-node:pr-1823
docker.io/lafyun/runtime-node:pr-1823

digest: sha256:f25f38121f92c655cd8abf366b2759fd94fc4ba1d3f4685c7e3943efc6f9fd43

@0fatal 0fatal force-pushed the feat/add-dep branch 5 times, most recently from ce3330d to 931ca11 Compare January 25, 2024 06:18
@0fatal 0fatal force-pushed the feat/add-dep branch 2 times, most recently from fc1aada to d7cd295 Compare January 25, 2024 07:34
@0fatal 0fatal marked this pull request as ready for review February 4, 2024 05:57
@HUAHUAI23 HUAHUAI23 merged commit debd01c into labring:main Feb 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants