-
Notifications
You must be signed in to change notification settings - Fork 27
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
feat: Add clients for actor env vars #202
Conversation
@jirimoravcik Looks like the tests are failing for some reason. Otherwise it looks good. We can definitely release the new client even before we add the API docs. The question is, Client v2 is not stable yet, so if you need this released fast, we should merge it and then backport it to the |
|
Weird. I think they passed on the last commit to master. @vladfrangu can you please check this when you have a moment? |
Yeah, but the weird thing is that this repository doesn't have a |
Finally a man of manners! Yes please, we should use lock files (together with lockfile maintenance from renovate) to actually find those issues early and have it under control (plus the benefit of caching node modules and making CI faster). I can confirm head/master is failing the same way. Can't really tell whether we should adjust the assertions or if it's important for us to have the |
It's an update to axios (or a downstream module in it) that's causing this issue. Pinning it to the version we're on right now in package.json "solves" it, but the better question is the one @B4nan just made |
Well if we had the deps locked, we would've not learned about the problem this fast, would we? And all the users would be installing a broken library. Thanks to not having the deps locked, we learned about the issue immediately. But let's leave this discussion for some other time. For now, just fix the problem. |
So then what's the intended fix? Drop the suffix (is it even necessary), or pin axios to a version? |
That is where the lockfile maintenance steps in, we would know it as there would be a PR telling us the lockfile update failed.
I don't see it this way. It was not immediate, and we did not really learn anything, we had to dig ourselves, because things got broken and nobody knew why.
Personally I'd just update the assertions. |
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 the assertions in master and merged it here, so things should be passing
left few comments, not sure what to do with the docs?
CHANGELOG.md
Outdated
2.1.0 / TBD | ||
=================== | ||
- Added `ActorEnvVarCollectionClient` and `ActorEnvVarClient` | ||
|
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.
2.0.0 is not out yet, so move this to that version
@@ -1,6 +1,6 @@ | |||
{ | |||
"name": "apify-client", | |||
"version": "2.0.1", | |||
"version": "2.1.0", |
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.
no need for version bump as 2.0.0 is not yet out
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.
2.0.0 is out on NPM as far as I know.
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.
Hey guys, I noticed that 2.x version is released, so I would like this to get merged as well. I merged the master to prevent conflicts and the unit tests are failing. Any idea why? The errors are from |
i'll be happy to merge if we can make it pass the CI checks (and rebase to remove conflicts) also I see some TODOs in there, without actual description/action steps - are those something you should resolved before we merge, or something for others? (who?) |
conflicts & pipeline fixed. the todos are there because the documentation has not been created yet. I could just remove the todos? |
let's keep them there i guess |
This PR adds clients for the new env vars API.
I added TODOs to the docs links, because as of now, the docs are not created.
@mnmkng, What is the suggested procedure here - create docs first and then merge at the same time or can we just release new client and add the docs later?