-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Bug 🐛help wantedIssues that are free to take by anyone interestedIssues that are free to take by anyone interested
Description
Have you read the Contributing Guidelines on issues?
- I have read the Contributing Guidelines on issues.
WebdriverIO Version
v8.45.0 (not sure if it's relevant)
Node.js Version
v18.20.8 (used in the WebdriverIO repo pipeline run)
Mode
Standalone Mode
Which capabilities are you using?
Not related to capabilities, the issue is in the GitHub Actions pipeline for the webdriverIO repoWhat happened?
Manual NPM Publish job has failed for the "v8" branch
Link to the failed job:
https://github.com/webdriverio/webdriverio/actions/runs/16529089221/job/47047318755
Actual behavior:
The job is failing with the 2 errors:
- one for the
generate:bidinpm command - one for the
generate:typingsnpm command
Attached are the screenshots of those errors
generate:bidi npm command failure:
generate:typings npm command failure:
What is your expected behavior?
The job runs successfully and produces a new release for v8
How to reproduce the bug.
To reproduce the bug, I think it should be enough to trigger the Manual NPM Publish workflow:
https://github.com/webdriverio/webdriverio/actions/workflows/publish.yml
Relevant log output
Output is as on the attached screenshots above
Part 1:
====================
CDDL PARSING FAILED!
====================
No updates to the CDDL interface can be applied as the script failed to parse
the spec CDDL due to the following error:
Error: /scripts/bidi/cddl/local.cddl:116:10 - error: Invalid property type "("
proxyType: "autodetect",
^
|
at Parser.parserError (file:///home/runner/work/webdriverio/webdriverio/node_modules/cddl/build/parser.js:731:16)
at Parser.parsePropertyType (file:///home/runner/work/webdriverio/webdriverio/node_modules/cddl/build/parser.js:554:32)
at Parser.parsePropertyTypes (file:///home/runner/work/webdriverio/webdriverio/node_modules/cddl/build/parser.js:611:25)
at Parser.parseAssignmentValue (file:///home/runner/work/webdriverio/webdriverio/node_modules/cddl/build/parser.js:116:43)
at Parser.parseAssignments (file:///home/runner/work/webdriverio/webdriverio/node_modules/cddl/build/parser.js:67:38)
at Parser.parse (file:///home/runner/work/webdriverio/webdriverio/node_modules/cddl/build/parser.js:721:32)
at parse (file:///home/runner/work/webdriverio/webdriverio/node_modules/cddl/build/index.js:5:19)
at file:///home/runner/work/webdriverio/webdriverio/scripts/bidi/index.ts:28:15
at Array.map (<anonymous>)
at file:///home/runner/work/webdriverio/webdriverio/scripts/bidi/index.ts:25:59
Part 2:
> generate:typings
> node --loader ts-node/esm ./scripts/type-generation/generate-all-typings.ts
(node:2821) ExperimentalWarning: `--experimental-loader` may be removed in the future; instead use `register()`:
--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));'
(Use `node --trace-warnings ...` to show where the warning was created)
Generated typings file for appium
Generated typings file for chromium
Generated typings file for gecko
Generated typings file for jsonwp
Generated typings file for mjsonwp
Generated typings file for saucelabs
Generated typings file for selenium
Generated typings file for webdriver
ERR! lerna Unknown arguments: release-latest, releaseLatest
Error: Process completed with exit code 1.Code of Conduct
- I agree to follow this project's Code of Conduct
Is there an existing issue for this?
- I have searched the existing issues
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Bug 🐛help wantedIssues that are free to take by anyone interestedIssues that are free to take by anyone interested