Chore: Upgrade GitBeaker dependency to 43.8.0#1510
Conversation
- Fix TS2741 in GitLab.ts when updated notes lose the required `type` field - Fix TS2322 in GitLab tests where discussion mocks pass MergeRequestNoteSchema values
|
I don't know why CI fails. Help appreciated. |
|
@glensc I'm not sure what the question is; it looks like many of the _gitlab_api.test.ts test cases are throwing the same error: "TypeError: Only absolute URLs are supported" Tracing the first test case: danger-js/source/platforms/gitlab/_tests/_gitlab_api.test.ts Lines 83 to 91 in a9f198a This calls through the platform to the GitLab adapter: danger-js/source/platforms/gitlab/GitLabAPI.ts Lines 100 to 105 in a9f198a So I suspect the gitlab API (or more likely gitbreaker itself) is throwing an error at What do you think? |
|
Alternatively, the issue is with Custom testing tools for test infrastructure only used by a single platform (that is experiencing errors) makes me suspicious. Generic testing tools might not expect the DangerJS runtime. Was nock necessary? Don't we have other tools in the repo that accomplish the same objective? |
|
"I don't know" was perhaps too short a message. I tried to update nock integration, but my changes had no effect (sorry, I don't have them around). also tried to compare git diffs between breaking versions (38..39) and found nothing obvious. |
Major release notes:
GroupJobTokenScopesand movedJobTokenScopestoProjectJobTokenScopes(#3643) jdalrymple/gitbeaker#3643) Adding support forGroupJobTokenScopesand movedJobTokenScopestoProjectJobTokenScopes(#3643) jdalrymple/gitbeaker#3643 (@jdalrymple)Refs