Skip to content

Update main sync#25

Open
Longwt123 wants to merge 17 commits into
mainfrom
update-main-sync
Open

Update main sync#25
Longwt123 wants to merge 17 commits into
mainfrom
update-main-sync

Conversation

@Longwt123

@Longwt123 Longwt123 commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

描述

根据上游仓库和当前仓库开发分支,更新并重新启用当前仓库main分支

合并更新,并检查是否有什么问题

相关 Issue

resolve https://github.com/opensourceways/backlog/issues/1203

变更类型

  • Bug 修复
  • 新功能
  • 代码重构
  • 文档更新
  • 样式改进
  • 性能优化
  • 测试相关
  • 其他

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Guide

@Longwt123 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
589414ea Bump all dependencies (#234) * ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
878781f9 docker: fix readOnly volumes in ... the email used in the commit is an invalid email!
please check all commits.
605551ff Bump @eslint/plugin-kit from 0.3... the email used in the commit is an invalid email!
please check all commits.
ea25fd1b Change command to remove sudo to... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
2934de33 Sort 'find' output before hashin... the email used in the commit is an invalid email!
please check all commits.
ad9cb43c feat: check if required binaries... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
0951cc73 Improve validation checks after ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
5f5708a2 Overwrite runnner file commands ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
ee5c48b9 Adding websocket heartbeat (#333... the email used in the commit is an invalid email!
please check all commits.
bcd95aee Fix error serialization in 4 cat... the email used in the commit is an invalid email!
please check all commits.
d170a93f fix(k8s): prevent circular-JSON ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
721a06a6 Fix misleading error/debug messa... the email used in the commit is an invalid email!
please check all commits.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@opensourceways-bot

Copy link
Copy Markdown

Linking Issue Notice

@Longwt123 , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

@opensourceways-bot

Copy link
Copy Markdown

Welcome To opensourceways Community

Hey @Longwt123 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request introduces significant updates to the runner container hooks, particularly for the Kubernetes (k8s) implementation. Key changes include transitioning from Kubernetes Jobs to Pods for container steps, replacing persistent volume claims with emptyDir volumes initialized via an init container, and using tar streaming to copy files to and from the workflow pod. Additionally, it introduces a WebSocket heartbeat mechanism to prevent stale connections, improves error serialization to avoid circular reference crashes, and adds robust fast-fail checks for unrecoverable pod and container errors. Feedback from the code review highlights a critical command injection vulnerability in writeContainerStepScript due to unquoted shell arguments, potential TypeError crashes from missing defensive checks on environment variables and API response items, redundant promise settlement paths in copy functions, and a potential promise hang in log streaming.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread packages/k8s/src/k8s/utils/index.ts Outdated
Comment thread packages/k8s/src/k8s/index.ts
Comment thread packages/k8s/src/k8s/index.ts Outdated
Comment thread packages/k8s/src/k8s/utils/index.ts Outdated
Comment thread packages/k8s/src/hooks/run-container-step.ts Outdated
Comment thread packages/k8s/src/k8s/index.ts Outdated
Comment thread packages/k8s/src/k8s/index.ts Outdated
Comment thread packages/k8s/src/k8s/index.ts Outdated
@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Guide

@Longwt123 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
589414ea Bump all dependencies (#234) * ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
878781f9 docker: fix readOnly volumes in ... the email used in the commit is an invalid email!
please check all commits.
605551ff Bump @eslint/plugin-kit from 0.3... the email used in the commit is an invalid email!
please check all commits.
ea25fd1b Change command to remove sudo to... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
2934de33 Sort 'find' output before hashin... the email used in the commit is an invalid email!
please check all commits.
ad9cb43c feat: check if required binaries... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
0951cc73 Improve validation checks after ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
5f5708a2 Overwrite runnner file commands ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
ee5c48b9 Adding websocket heartbeat (#333... the email used in the commit is an invalid email!
please check all commits.
bcd95aee Fix error serialization in 4 cat... the email used in the commit is an invalid email!
please check all commits.
d170a93f fix(k8s): prevent circular-JSON ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
721a06a6 Fix misleading error/debug messa... the email used in the commit is an invalid email!
please check all commits.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Guide

@Longwt123 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
589414ea Bump all dependencies (#234) * ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
878781f9 docker: fix readOnly volumes in ... the email used in the commit is an invalid email!
please check all commits.
605551ff Bump @eslint/plugin-kit from 0.3... the email used in the commit is an invalid email!
please check all commits.
ea25fd1b Change command to remove sudo to... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
2934de33 Sort 'find' output before hashin... the email used in the commit is an invalid email!
please check all commits.
ad9cb43c feat: check if required binaries... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
0951cc73 Improve validation checks after ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
5f5708a2 Overwrite runnner file commands ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
ee5c48b9 Adding websocket heartbeat (#333... the email used in the commit is an invalid email!
please check all commits.
bcd95aee Fix error serialization in 4 cat... the email used in the commit is an invalid email!
please check all commits.
d170a93f fix(k8s): prevent circular-JSON ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
721a06a6 Fix misleading error/debug messa... the email used in the commit is an invalid email!
please check all commits.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Guide

@Longwt123 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
589414ea Bump all dependencies (#234) * ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
878781f9 docker: fix readOnly volumes in ... the email used in the commit is an invalid email!
please check all commits.
605551ff Bump @eslint/plugin-kit from 0.3... the email used in the commit is an invalid email!
please check all commits.
ea25fd1b Change command to remove sudo to... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
2934de33 Sort 'find' output before hashin... the email used in the commit is an invalid email!
please check all commits.
ad9cb43c feat: check if required binaries... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
0951cc73 Improve validation checks after ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
5f5708a2 Overwrite runnner file commands ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
ee5c48b9 Adding websocket heartbeat (#333... the email used in the commit is an invalid email!
please check all commits.
bcd95aee Fix error serialization in 4 cat... the email used in the commit is an invalid email!
please check all commits.
d170a93f fix(k8s): prevent circular-JSON ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
721a06a6 Fix misleading error/debug messa... the email used in the commit is an invalid email!
please check all commits.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@socket-security

socket-security Bot commented Jul 17, 2026

Copy link
Copy Markdown

@socket-security

socket-security Bot commented Jul 17, 2026

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @emnapi/runtime is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/vitest@4.1.10npm/@emnapi/runtime@1.11.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@emnapi/runtime@1.11.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm damerau-levenshtein is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/eslint-plugin-github@6.0.0npm/damerau-levenshtein@1.0.8

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/damerau-levenshtein@1.0.8. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm es-abstract is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/eslint-plugin-github@6.0.0npm/es-abstract@1.24.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/es-abstract@1.24.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm es-abstract is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: packages/hooklib/package-lock.jsonnpm/eslint-plugin-github@6.0.0npm/es-abstract@1.24.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/es-abstract@1.24.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm openid-client is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: packages/k8s/package-lock.jsonnpm/@kubernetes/client-node@1.3.0npm/openid-client@6.8.1

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/openid-client@6.8.1. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm string.prototype.trimend is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: package-lock.jsonnpm/eslint-plugin-github@6.0.0npm/string.prototype.trimend@1.0.9

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/string.prototype.trimend@1.0.9. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm yargs is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: packages/docker/package-lock.jsonnpm/jest@30.4.2npm/yargs@17.7.3

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/yargs@17.7.3. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Guide

@Longwt123 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
589414ea Bump all dependencies (#234) * ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
878781f9 docker: fix readOnly volumes in ... the email used in the commit is an invalid email!
please check all commits.
605551ff Bump @eslint/plugin-kit from 0.3... the email used in the commit is an invalid email!
please check all commits.
ea25fd1b Change command to remove sudo to... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
2934de33 Sort 'find' output before hashin... the email used in the commit is an invalid email!
please check all commits.
ad9cb43c feat: check if required binaries... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
0951cc73 Improve validation checks after ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
5f5708a2 Overwrite runnner file commands ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
ee5c48b9 Adding websocket heartbeat (#333... the email used in the commit is an invalid email!
please check all commits.
bcd95aee Fix error serialization in 4 cat... the email used in the commit is an invalid email!
please check all commits.
d170a93f fix(k8s): prevent circular-JSON ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
721a06a6 Fix misleading error/debug messa... the email used in the commit is an invalid email!
please check all commits.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Guide

@Longwt123 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
589414ea Bump all dependencies (#234) * ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
878781f9 docker: fix readOnly volumes in ... the email used in the commit is an invalid email!
please check all commits.
605551ff Bump @eslint/plugin-kit from 0.3... the email used in the commit is an invalid email!
please check all commits.
ea25fd1b Change command to remove sudo to... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
2934de33 Sort 'find' output before hashin... the email used in the commit is an invalid email!
please check all commits.
ad9cb43c feat: check if required binaries... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
0951cc73 Improve validation checks after ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
5f5708a2 Overwrite runnner file commands ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
ee5c48b9 Adding websocket heartbeat (#333... the email used in the commit is an invalid email!
please check all commits.
bcd95aee Fix error serialization in 4 cat... the email used in the commit is an invalid email!
please check all commits.
d170a93f fix(k8s): prevent circular-JSON ... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.
721a06a6 Fix misleading error/debug messa... the email used in the commit is an invalid email!
please check all commits.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

- Merge upstream actions/runner-container-hooks@main (v0.8.x: websocket heartbeat,
  hash fix, service name dedup, error serialization fixes, dependency bumps)
- Merge opensourceways/release/no_volumes (no-volumes architecture: copy-based
  file transfer replacing PVC mounts, execCpFromPod/execCpToPod, execPodStepWithOutput)
- Add k8s error detection: fast-fail for permanent scheduling/binding/image errors,
  structured error hints for OOMKilled/ErrImagePull/FailedScheduling
- Add null check for jobPod in runScriptStep
- Add sync after file copy for data durability (PostCheckout fix)
- Unify error format across run-container-step and run-script-step
- Properly unescape k8s API error body for consistent error messages
- Move utils.ts to utils/index.ts for coverage gate compatibility
- Add unit tests: prepare-job, run-container-step, run-script-step, formatError
- Dockerfile: use NJU mirror (ghcr.nju.edu.cn) with runner 2.334.0
- Bump js-yaml to 4.2.0, uuid to 11.1.1

Resolves: opensourceways/backlog#1203
@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Longwt123, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@Longwt123

Copy link
Copy Markdown
Collaborator Author

/retest

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT测试覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

- Add vitest.config.js: runs *.spec.ts files across all packages,
  outputs coverage/clover.xml at repo root as required by CI diff-cover
- Install vitest + @vitest/coverage-v8 as root devDependencies
- Add test:coverage script
- Fix fixArgs single-quote test to be shlex-implementation-agnostic
@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@opensourceways-bot

Copy link
Copy Markdown

Notification

This pull request source branch has changed, so removes the following label(s): gate_check_pass.

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Longwt123, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

npm ci strict peer dependency resolution rejects @babel/core@8.0.1
alongside ts-jest@29.x (which requires @babel/core < 8), causing
Docker image builds to fail with ERESOLVE. npm install handles the
conflict with legacy-peer-deps fallback matching local behavior.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@opensourceways-bot

Copy link
Copy Markdown

Notification

This pull request source branch has changed, so removes the following label(s): gate_check_pass.

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Longwt123, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

ts-jest@29.x requires @babel/core >= 7.0.0-beta.0 < 8. The upgrade
to @babel/core@8.x caused ERESOLVE in Docker builds (npm v10+ strict
peer resolution). Downgrade to ^7.29.0/^7.29.5 to restore compat.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@opensourceways-bot

Copy link
Copy Markdown

Notification

This pull request source branch has changed, so removes the following label(s): gate_check_pass.

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Longwt123, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

npm 10.x (CI Docker) does not emit "peer": true in lockfiles;
npm 11.x (local) does. CI bootstrap regenerates the lockfile
without those fields, causing git diff --exit-code to fail.
Align committed lockfile with npm 10.x output.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@opensourceways-bot

Copy link
Copy Markdown

Notification

This pull request source branch has changed, so removes the following label(s): gate_check_pass.

@opensourceways-bot

Copy link
Copy Markdown

CLA Signature Pass

Longwt123, thanks for your pull request. All authors of the commits have signed the CLA. 👍

@opensourceways-bot

Copy link
Copy Markdown
检查项 状态
敏感信息扫描
安全编码扫描
漏洞扫描
开源license合规扫描
UT覆盖率
开发阶段设计文档检查
流水线链接 点击跳转查看日志

@tfhddd

tfhddd commented Jul 22, 2026

Copy link
Copy Markdown

/lgtm
/approve

@opensourceways-bot

Copy link
Copy Markdown

Review Code Feedback

  • The label lgtm-tfhddd was added to this pull request. It means that tfhddd reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄

@opensourceways-bot

Copy link
Copy Markdown

Review Code Feedback

  • The label approved was added to this pull request. It means that tfhddd reviewed the code changes. 👋
Tips
  • If this pull request is not merged while all conditions are met, comment /check-pr to try again. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants