-
-
Notifications
You must be signed in to change notification settings - Fork 254
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
Fixed bug with additional 'c:' prefix for --workDir #668
Conversation
WalkthroughWalkthroughThe changes involve modifying the Changes
Poem
Tip OpenAI O1 model for chat
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional comments not posted (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
What seems a little odd about this is in v2, it was hardcoded to c:/github/workspace which nobody seemed to have any issues with. We currently have a Windows 11 runner building successfully on V4 without touching the workdir variable, so maybe there's another variable at play? Here's the v3 commit with the changes for reference: 3032a4a |
Hey @AndrewKahr, I agree. Unless I'm missing something, even in the action items you've written, I believe we're on the same page that it should definitely be omitted from the command. |
It was instructed to leave out the drive letter because the variable was shared between Linux and Windows, so the Windows function would prepend the This sounds like you could be hitting a path conversion error based on the shell that's being used: docker/cli#2204 This makes the fix tricky since people with self-hosted runners may be using different ENV vars/shell types on their runners. |
@AndrewKahr thanks for pointing me in the right direction with this! Happy to report that I managed to find the fix to the issue. If anyone runs into this issue, the solution is quite simple. By default, my machine was set to Linux Containers which is not which causes the following error: When you switch it to The docker service should spin up without any errors: Thanks again for your help @AndrewKahr , can happily close this ticket! 😄 |
@AndrewKahr do we have a suggested approach for a PR, or recommended values for those variables on self-hosted? Perhaps we can get a quick win by streamlining this. Related: |
Changes
'c:'
prefix from the--workDir
path for Windows hosts.Related Issues
Successful Workflow Run Link
PRs don't have access to secrets so you will need to provide a link to a successful run of the workflows from your own
repo.
Checklist
code of conduct
in the documentation repo)
Summary by CodeRabbit
New Features
C:
prefix from the workspace path.Bug Fixes