I have opened a PR, but it is not clear to me what...
# general
f
I have opened a PR, but it is not clear to me what tests i can run locally to see if I a have made the biggest of messes or if my changes works without breaking things. So far I have just run test-on-linux with
act
which gives the same outputs, of cause building the dockers too.
🙌 1
c
I think this will be pretty useful to prepare for V1, as we start using uv everywhere for openhands V1 😄
f
hence I took up the challenge 😉 The Purpose of my pr is not to be smart about it but simply to enable the proper usages of uv more easily afterwards. So it is more or less a 1-to-1 mapping of
poetry run
with
uv run
and other relatively smaller edits. Just a lot of them. But again, I am not sure how to properly test this locally or on my own CI. Can you help me with that?
c
i just approved the github ci for you 🙂 i wonder if i can make sure the CI in your PR just automatically works
f
What do you mean with "magically work", do you mean run without approval?
c
nod
f
Is the setting for for first time contributors enables? > Repository Settings → Actions → General → "Fork pull request workflows from outside collaborators" I am not sure you can partially disable this, though it would be nice. for other workflows the main reason a PR needs approval is because it comes from a fork. In the main build workflow
ghcr-build.yml
, there's a specific condition that prevents CI from running automatically on forks:
Copy code
if: "!github.event.pull_request.head.repo.fork"
This prevents unauthorized code from running in the CI, which is not a bot thing, considering environments have access to secrets and registry push permissions. So for that to work we would need to disable secrets for that workflow or limit which is can see.
c
yeah there's a setting, i temporarily relax it a bit -- can you try to see if you can trigger CI to run?
BTW i've also left some comments! overall lgtm! we just need to get CI to pass to ship it parrot
🙌 1
f
going through all your comments and will test again after, ok?
🙌 1
c
sg!