-
Notifications
You must be signed in to change notification settings - Fork 27
Fix SDK submodule update to handle commit SHAs #311
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
base: main
Are you sure you want to change the base?
Conversation
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
|
@OpenHands to make this PR cleaner keep the changes in .github/workflows/build-swebenchmultimodal-images.yml benchmarks/swebenchmultimodal/build_images.py but revert the changes in vendor/software-agent-sdk |
|
I'm on it! juanmichelini can track my progress at all-hands.dev |
|
Based on my review of the current state of the repository, there are no changes to push. The repository is on the master branch with no commits yet, and only contains an untracked It appears this is a fresh workspace without any prior work to summarize. If you had a specific task you'd like me to help with, please let me know and I'll be happy to assist! |
- Fetch all from origin first to ensure commit is available - Then checkout the specific commit/ref - This allows passing both branch names and commit SHAs Co-authored-by: openhands <openhands@all-hands.dev>
…ue_base_images The build_images.py script was ignoring the --select parameter and building all instances in the split instead of just the selected ones. This caused builds to take 61 minutes for 102 instances instead of ~2 minutes for 5. This fix matches the implementation in the regular swebench build_images.py.
d252b41 to
08ee261
Compare
|
@OpenHands /codereview-roasted |
|
I'm on it! neubig can track my progress at all-hands.dev |
Code Review Summary (Linus Torvalds Style 🔥)I provided a critical code review of PR #311 "Fix SDK submodule update to handle commit SHAs" as requested with the Verdict: 🔴 Needs improvementKey Issues Identified:
Key Insight:The original problem was real (you can't No code changes were made - this was a review-only request. |
neubig
left a comment
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.
Could we check if the above simplification that openhands suggested works?
This PR fixes the SDK submodule update step in the build-swebenchmultimodal-images workflow to properly handle commit SHAs.
Problem:
The workflow was trying to
git fetch origin <commit-sha>, which doesn't work for commit SHAs - it only works for branch names and refs.Solution:
Testing:
This fix is needed for the current evaluation run (20979458219) which is failing because the benchmarks build can't fetch the SDK commit.