TypeError issue reported by OAD in CI for azure-rest-api-specs repo
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- javascript, node.js
Research direction
Start with the Travis CI job linked in the issue and inspect scripts/breaking-change.js around runOad at line 68 and its caller around line 148. Trace how the OAD logger reaches logging.js and validate.js, then reproduce the failure in the CI workflow. Done means the breaking-change check no longer throws the undefined path TypeError.
Written by the indexing model from the issue text.
Description
@sergey-shandar
https://travis-ci.org/Azure/azure-rest-api-specs/jobs/513289560
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:125:11)
at Object.join (path.js:1147:7)
at exports.Logger.get [as filepath] (/home/travis/build/Azure/azure-rest-api-specs/node_modules/@azure/oad/dist/lib/util/logging.js:92:39)
at Object.compare (/home/travis/build/Azure/azure-rest-api-specs/node_modules/@azure/oad/dist/lib/validate.js:26:67)
at runOad (/home/travis/build/Azure/azure-rest-api-specs/scripts/breaking-change.js:68:26)
at runScript (/home/travis/build/Azure/azure-rest-api-specs/scripts/breaking-change.js:148:27)
at process._tickCallback (internal/process/next_tick.js:68:7)
- Dominant language
- C#
- Stars
- 290
- Forks
- 50
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/openapi-diff
-
Azure/openapi-diff#482 · 1 assignee ·
-
Azure/openapi-diff#479 · 2 comments · 1 assignee ·
-
Azure/openapi-diff#456 · 1 assignee ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Azure/openapi-diff#445 ·
-
Azure/openapi-diff#371 · 7 comments · 1 assignee ·
All issues in Azure/openapi-diff
Similar issues
-
Documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
Difficulty 2/5 1-2 days Newbie friendliness 75/100
Altinn/altinn-auth#4143 ·
-
.NET Flaky Test Testing Tests
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
getsentry/sentry-dotnet#5617 · 1 comment ·
-
:watch: Not Triaged dotnet-fsharp/svc
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Azure/azure-sdk-for-net#63292 · 3 comments · 1 reaction ·