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

binary 同步有异常 #376

Closed
fengmk2 opened this issue Jan 18, 2023 · 0 comments · Fixed by #377 or #573
Closed

binary 同步有异常 #376

fengmk2 opened this issue Jan 18, 2023 · 0 comments · Fixed by #377 or #573
Assignees
Labels
bug Something isn't working

Comments

@fengmk2
Copy link
Member

fengmk2 commented Jan 18, 2023

2023-01-18 15:16:48,040 ERROR 3904178 [-/120.52.149.86/1240e370-9700-11ed-915b-29cb43360051/0.981ms GET /-/binary/node-chakracore/] nodejs.TypeError: Cannot destructure property 'category' of 'binaries_1.default[binaryName]' as it is undefined.
at BinarySyncerService.listRootBinaries (/home/admin/application/app/core/service/BinarySyncerService.ts:80:7)
at BinarySyncController.showBinary (/home/admin/application/app/port/controller/BinarySyncController.ts:56:52)
at Object.<anonymous> (/home/admin/application/node_modules/_@eggjs_tegg-controller-plugin@3.2.4@@eggjs/tegg-controller-plugin/lib/impl/http/HTTPMethodRegister.ts:96:34)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at AlwaysAuth (/home/admin/application/app/port/middleware/AlwaysAuth.ts:13:3)
at Tracing (/home/admin/application/app/port/middleware/Tracing.ts:22:3)
at ErrorHandler (/home/admin/application/app/port/middleware/ErrorHandler.ts:8:5)
at xframe (/home/admin/application/node_modules/_egg-security@2.11.0@egg-security/lib/middlewares/xframe.js:7:5)
at xssProtection (/home/admin/application/node_modules/_egg-security@2.11.0@egg-security/lib/middlewares/xssProtection.js:7:5)

@fengmk2 fengmk2 added the bug Something isn't working label Jan 18, 2023
fengmk2 added a commit that referenced this issue Jan 18, 2023
fengmk2 added a commit that referenced this issue Jan 18, 2023
fengmk2 pushed a commit that referenced this issue Aug 22, 2023
> closes #376: fix issue with incomplete binary file after upstream
release or sync failure
* 🧶 Modify the binary `diff` method, adding latest version check method.
* ♻️ Perform additional comparison on the latest version, without
modifying existing data.

---------
> 修复 #376 ,兼容上游发布或同步失败后,产物同步不全的问题
* 🧶 调整 binary `diff` 方法,添加最新版本校验逻辑
* ♻️ 对最新版本的子目录进行额外比对,存量数据不做修改
fengmk2 pushed a commit that referenced this issue Aug 22, 2023
[skip ci]

## [3.42.0](v3.41.0...v3.42.0) (2023-08-22)

### Features

* revalidate latest version ([#573](#573)) ([73b4383](73b4383)), closes [#376](#376)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants