Skip to content

Nodejs Binding failed to release #5957

@Xuanwo

Description

@Xuanwo
2025-04-05T03:30:08.762Z napi:prepublish Update optionalDependencies in [/home/runner/work/opendal/opendal/bindings/nodejs/package.json]
2025-04-05T03:30:08.763Z napi:version Update version to 0.48.0 in [/home/runner/work/opendal/opendal/bindings/nodejs/npm/win32-x64-msvc]
2025-04-05T03:30:08.766Z napi:version Update version to 0.48.0 in [/home/runner/work/opendal/opendal/bindings/nodejs/npm/darwin-x64]
2025-04-05T03:30:08.767Z napi:version Update version to 0.48.0 in [/home/runner/work/opendal/opendal/bindings/nodejs/npm/linux-x64-gnu]
2025-04-05T03:30:08.768Z napi:version Update version to 0.48.0 in [/home/runner/work/opendal/opendal/bindings/nodejs/npm/darwin-arm64]
2025-04-05T03:30:08.768Z napi:version Update version to 0.48.0 in [/home/runner/work/opendal/opendal/bindings/nodejs/npm/linux-arm64-gnu]
2025-04-05T03:30:08.769Z napi:version Update version to 0.48.0 in [/home/runner/work/opendal/opendal/bindings/nodejs/npm/linux-arm64-musl]
2025-04-05T03:30:08.770Z napi:version Update version to 0.48.0 in [/home/runner/work/opendal/opendal/bindings/nodejs/npm/win32-arm64-msvc]
2025-04-05T03:30:08.772Z napi:spawn execute git log -1 --pretty=%B
ci: Disable zigbuild to workaround undefined symbol (#5936)

* ci: Disable zigbuild to workaround undefined symbol

Signed-off-by: Xuanwo <[email protected]>

2025-04-05T03:30:08.781Z napi:prepublish Github repository: apache/opendal
* Fix build

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
2025-04-05T03:30:08.935Z napi:prepublish Params: {
  "owner": "apache",
  "repo": "opendal",
  "tag_name": "v0.48.0"
}
RequestError [HttpError]: Resource not accessible by integration
    at /home/runner/work/opendal/opendal/bindings/nodejs/node_modules/.pnpm/@[email protected]/node_modules/@napi-rs/cli/scripts/index.js:54412:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 403,
  response: {
    url: 'https://api.github.com/repos/apache/opendal/releases',
    status: 403,
    headers: {
      'access-control-allow-origin': '*',
      'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
      'content-encoding': 'gzip',
      'content-security-policy': "default-src 'none'",
      'content-type': 'application/json; charset=utf-8',
      date: 'Sat, 05 Apr 2025 03:30:08 GMT',
      'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
      server: 'github.com',
      'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
      'transfer-encoding': 'chunked',
      vary: 'Accept-Encoding, Accept, X-Requested-With',
      'x-accepted-github-permissions': 'contents=write; contents=write,workflows=write',
      'x-content-type-options': 'nosniff',
      'x-frame-options': 'deny',
      'x-github-api-version-selected': '2022-11-28',
      'x-github-media-type': 'github.v3; format=json',
      'x-github-request-id': 'B7C0:1A1A75:1544B1:2AC451:67F0A3C0',
      'x-ratelimit-limit': '15000',
      'x-ratelimit-remaining': '13277',
      'x-ratelimit-reset': '[17](https://github.com/apache/opendal/actions/runs/14277905220/job/40023888066#step:12:18)43826412',
      'x-ratelimit-resource': 'core',
      'x-ratelimit-used': '1723',
      'x-xss-protection': '0'
    },
    data: {
      message: 'Resource not accessible by integration',
      documentation_url: 'https://docs.github.com/rest/releases/releases#create-a-release',
      status: '403'
    }
  },
  request: {
    method: 'POST',
    url: 'https://api.github.com/repos/apache/opendal/releases',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit-rest.js/20.0.2 octokit-core.js/5.1.0 Node.js/[18](https://github.com/apache/opendal/actions/runs/14277905220/job/40023888066#step:12:19).20.7 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-type': 'application/json; charset=utf-8'
    },
    body: '{"tag_name":"v0.48.0","prerelease":false}',
    request: { hook: [Function: bound bound register$1] }
  }
}
2025-04-05T03:30:08.945Z napi:spawn execute npm publish
npm warn publish npm auto-corrected some errors in your package.json when publishing.  Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+ssh://[email protected]/apache/opendal.git"
npm notice
npm notice 📦  @opendal/[email protected]
npm notice Tarball Contents
npm notice 93B README.md
npm notice 15.0MB opendal.win32-x64-msvc.node
npm notice 332B package.json
npm notice Tarball Details
npm notice name: @opendal/lib-win32-x64-msvc
npm notice version: 0.48.0
npm notice filename: opendal-lib-win32-x64-msvc-0.48.0.tgz
npm notice package size: 5.3 MB
npm notice unpacked size: 15.0 MB
npm notice shasum: ad6765510de8b47b884c26217db84b14bcb62e30
npm notice integrity: sha512-fpHH9YHqZBr82[...]gj6hCIdlr5USA==
npm notice total files: 3
npm notice
npm notice Publishing to https://registry.npmjs.org/ with tag latest and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=[19](https://github.com/apache/opendal/actions/runs/14277905220/job/40023888066#step:12:20)2735477
npm error code E404
npm error 404 Not Found - PUT https://registry.npmjs.org/@opendal%2flib-win32-x64-msvc - Not found
npm error 404
npm error 404  '@opendal/[email protected]' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/[20](https://github.com/apache/opendal/actions/runs/14277905220/job/40023888066#step:12:21)25-04-05T03_30_09_017Z-debug-0.log
Internal Error: Execution failed with a non-error rejection (rejected value: undefined)
    at Cli.error (/home/runner/work/opendal/opendal/bindings/nodejs/node_modules/.pnpm/@[email protected]/node_modules/@napi-rs/cli/scripts/index.js:33[21](https://github.com/apache/opendal/actions/runs/14277905220/job/40023888066#step:12:22):21)
    at Cli.run (/home/runner/work/opendal/opendal/bindings/nodejs/node_modules/.pnpm/@[email protected]/node_modules/@napi-rs/cli/scripts/index.js:3145:39)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
npm error code 1
npm error path /home/runner/work/opendal/opendal/bindings/nodejs
npm error command failed
npm error command sh -c napi prepublish -t npm
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2025-04-05T03_30_08_193Z-debug-0.log

Any ideas? What's Resource not accessible by integration mean?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions