Comments (3)
Another option would be to bail on go-git and use a wrapper for the real git.
https://github.com/ldez/go-git-cmd-wrapper?tab=readme-ov-file
from instructlab-bot.
@mingxzhao reported a back to back error in this job instructlab/taxonomy#80 :
Apr 18 15:49:24 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T15:49:24.581Z INFO cmd/generate.go:647 Job took 34s to run
Apr 18 15:49:24 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T15:49:24.633Z INFO cmd/generate.go:518 Job done {"job": "163", "pr_number": "715", "work_dir": "/home/fedora/instruct-lab-bot", "origin": "origin", "out_dir": "/home/fedora/instruct-lab-bot/precheck-pr-715-8e87e8e15b71c0fe3e9aa7aced29211003d5c138"}
Apr 18 15:57:55 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T15:57:55.883Z INFO cmd/generate.go:341 Processing job 164 {"job": "164"}
Apr 18 15:57:56 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T15:57:56.034Z INFO cmd/generate.go:561 Retrying fetching updates, attempt 2/3 {"job": "164", "pr_number": "80", "work_dir": "/home/fedora/instruct-lab-bot", "origin": "origin"}
Apr 18 15:57:58 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T15:57:58.167Z INFO cmd/generate.go:561 Retrying fetching updates, attempt 3/3 {"job": "164", "pr_number": "80", "work_dir": "/home/fedora/instruct-lab-bot", "origin": "origin"}
Apr 18 15:58:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T15:58:00.660Z ERROR cmd/generate.go:389 git operations error: could not fetch PR branch: some refs were not updated
Apr 18 15:58:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: github.com/instruct-lab/instruct-lab-bot/worker/cmd.(*Worker).processJob
Apr 18 15:58:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: /home/fedora/worker-intruct-lab-bot/instruct-lab-bot/worker/cmd/generate.go:389
Apr 18 15:58:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: github.com/instruct-lab/instruct-lab-bot/worker/cmd.glob..func1.4
Apr 18 15:58:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: /home/fedora/worker-intruct-lab-bot/instruct-lab-bot/worker/cmd/generate.go:196
Apr 18 17:40:59 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T17:40:59.883Z INFO cmd/generate.go:341 Processing job 165 {"job": "165"}
Apr 18 17:41:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: 2024-04-18T17:41:00.382Z ERROR cmd/generate.go:389 git operations error: could not fetch PR branch: some refs were not updated
Apr 18 17:41:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: github.com/instruct-lab/instruct-lab-bot/worker/cmd.(*Worker).processJob
Apr 18 17:41:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: /home/fedora/worker-intruct-lab-bot/instruct-lab-bot/worker/cmd/generate.go:389
Apr 18 17:41:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: github.com/instruct-lab/instruct-lab-bot/worker/cmd.glob..func1.4
Apr 18 17:41:00 ip-172-31-13-79.us-east-2.compute.internal instruct-lab-bot-worker[226392]: /home/fedora/worker-intruct-lab-bot/instruct-lab-bot/worker/cmd/generate.go:196
from instructlab-bot.
Here was another incident of this: instructlab/taxonomy#1060
from instructlab-bot.
Related Issues (20)
- Update the .env.example file with examples of all ENVs
- Feature request for job log output in the UI
- Add direct links to the UI URLs for linking jobs.
- Upstream chat/context bug workaround tracking HOT 1
- Remove the prompt workaround from the output yaml results
- Add a realtime chat with the fmaas backend
- Do not post bot message, on label changes if the PR is closed.
- Add gateway proxy for worker nodes to reach endpoints behind firewalls
- Integrated database with the apiserver for storing the UI related data.
- Remove the job status job ID message in comments
- Automate the 'precheck' validation step using semantic similarity scores HOT 1
- Adding ability to SSH into github runners from our workflows
- Add original user question to precheck output log
- Add TLS to the GIN apiserver
- Publish github app to github marketplace
- Add download File option to UI submission
- Remove generate-local from bot options
- Postcheck command
- SDG throwing a 500 on tax PR 1148 HOT 2
- Two or more hyphens get passed as a flag request to ilab
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instructlab-bot.