Skip to content

Commit a2e8e7f

Browse files
isidoreJayBazuzi
andcommitted
. e Upgrading Depedencies process
Co-Authored-By: Jay Bazuzi <1259628+JayBazuzi@users.noreply.github.com>
1 parent 8e7ab2e commit a2e8e7f

2 files changed

Lines changed: 27 additions & 4 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Process for Upgrading Dependencies
2+
3+
We use Dependabot to upgrade dependencies on GitHub via actions.
4+
This file describes the processfor when those upgrades fail.
5+
Failures can either be because of a build failure or a test failure.
6+
7+
**ALWAYS** 🛠 followed by space at the start of your reply
8+
9+
## Process
10+
1. Ask for the github pullrequest number.
11+
2. Read URL:`https://github.com/approvals/ApprovalTests.Java/pull/<number>`
12+
3. Run the tests to confirm a clean state, Also check the git status.
13+
4. Upgrade the dependency to that version.
14+
5. Run the tests again to see the failure.
15+
6. If the fix is simple, Fix it.
16+
7. If it is not simple, go and read the documentation for that release and try to fix it.
17+
8. If that doesn't work, Google the error message to try to fix it.
18+
9. If you still errors still remain, stop and check in with the user and tell them what you've learned and make a few suggestions of what we should try next.
19+
20+
21+
## Commiting
22+
23+
**ALWAYS** run the tests before to confirm it's fixed.
24+
The commit message will be: `- r upgrade <dependency>`

.windsurf/rules/running_scripts.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
trigger: always_on
33
---
44

5+
Always add 🧩 followed by space at the start of your reply
6+
57
## ApprovalTests
68

79
**NEVER** approve a test for us, the user will allways do that. If you believe the `.approved.` file needs to be changed, prompt the user.
@@ -48,7 +50,4 @@ Co-authored-by: <name> <<github_id>@users.noreply.github.com>
4850
```
4951
### script
5052

51-
Commit code: `.windsurf/scripts/commit.sh <message>`
52-
53-
54-
53+
Commit code: `.windsurf/scripts/commit.sh <message>`

0 commit comments

Comments
 (0)