-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[server] Bump dependencies avoid pulling 'agent-base' < 6.0.0 #2388
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
Conversation
👍🏻 You make it work! Wow! This is great, replaces all old dependencies as well. Please rebase! |
@@ -15,7 +15,7 @@ | |||
"downlevelIteration": true, | |||
"module": "commonjs", | |||
"moduleResolution": "node", | |||
"target": "es5", | |||
"target": "es6", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
Awesome stuff! This is the only way forward. 🚀 One thing I'm wondering about is the timing. |
That's what I meant with "no hurry to merge". As we already merged the patch and tested it, this is more of a cleanup thing. Let's do it sometime in over the next weeks. |
4c1eb4a
to
673b5f8
Compare
@@ -52,7 +53,11 @@ export const productionEEContainerModule = new ContainerModule((bind, unbind, is | |||
bind(PrebuildRateLimiter).toSelf().inSingletonScope(); | |||
bind(PrebuildQueueMaintainer).toSelf().inSingletonScope(); | |||
bind(IPrefixContextParser).to(StartPrebuildContextParser).inSingletonScope(); | |||
bind(GithubApp).toSelf().inSingletonScope(); | |||
bind(GithubApp).toDynamicValue(ctx => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This might be irrelevant
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it same as the ctor injection?
or did you try to solve an issue with eager dep resolution?
const user = await this.userDB.findUserByIdentity({ authProviderId: this.env.githubAppAuthProviderId, authId }); | ||
const userId = user ? user.id : undefined; | ||
await this.appInstallationDB.recordNewInstallation("github", 'platform', ctx.payload.installation.id, userId, ctx.payload.sender.id); | ||
await this.appInstallationDB.recordNewInstallation("github", 'platform', accountId, userId, `${ctx.payload.sender.id}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geropl, AFAIR this question was the only important thing to have a look at. otherwise we should merge it to get rid of the technical dept.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
@geropl did you delete |
yarn.lock is actually not updated (again) |
would be good to remove https://github.com/gitpod-io/gitpod/blob/39c7e56b694591162fa3ad12cd9968fce56f07a8/components/server/src/patch-agent-base.ts and references to it. |
673b5f8
to
f748efe
Compare
/werft run 👍 started the job as gitpod-build-gpl-at-gilab-api.8 |
it still finds |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏻 Great!
…-io#2388) * [server] Bump dependencies avoid pulling 'agent-base' < 6.0.0 * [server] Remove patch-agent-base and references * [server] Cleanup: yarn.lock
This is an alternative to the patching to work around
agent-base
in #2375.No hurry to merge, but maybe a way to replace the workaround.
Test: http://gpl-at-gilab-api.staging.gitpod-dev.com/workspaces/