Skip to content
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

make backend step dag generation deterministic #3037

Merged
merged 3 commits into from
Dec 27, 2023

Conversation

6543
Copy link
Member

@6543 6543 commented Dec 27, 2023

the the generation for backend steps if a dag is used deterministic.

this also fix where the test randomly fail like in:

@6543 6543 added the enhancement improve existing features label Dec 27, 2023
@6543 6543 requested a review from a team December 27, 2023 10:10
@6543
Copy link
Member Author

6543 commented Dec 27, 2023

PS: I'll push 100% pass once test failed

@lafriks
Copy link
Contributor

lafriks commented Dec 27, 2023

Would it be possible to keep order defined in the pipeline definition?

@6543
Copy link
Member Author

6543 commented Dec 27, 2023

@lafriks yes - done

Copy link

codecov bot commented Dec 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (49764f6) 35.80% compared to head (93817ca) 34.85%.
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3037      +/-   ##
==========================================
- Coverage   35.80%   34.85%   -0.96%     
==========================================
  Files         221      227       +6     
  Lines       14175    14767     +592     
==========================================
+ Hits         5076     5147      +71     
- Misses       8719     9240     +521     
  Partials      380      380              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lafriks lafriks merged commit 840fca1 into woodpecker-ci:main Dec 27, 2023
7 of 8 checks passed
@6543 6543 deleted the make-test-deterministic branch December 27, 2023 11:59
@woodpecker-bot woodpecker-bot mentioned this pull request Dec 27, 2023
1 task
@6543 6543 added bug Something isn't working and removed enhancement improve existing features labels Dec 27, 2023
6543 pushed a commit that referenced this pull request Dec 27, 2023
This PR was opened by the
[ready-release-go](https://github.com/woodpecker-ci/plugin-ready-release-go)
plugin. When you're ready to do a release, you can merge this
pull-request and a new release with version `2.1.1` will be created
automatically. If you're not ready to do a release yet, that's fine,
whenever you add more changes to `main` this pull-request will be
updated.

## Options

- [ ] Mark this version as a release candidate

##
[2.1.1](https://github.com/woodpecker-ci/woodpecker/releases/tag/2.1.1)
- 2023-12-27

### 🐛 Bug Fixes

- trim v on version check
[[#3039](#3039)]
- make backend step dag generation deterministic
[[#3037](#3037)]
- Fix showing wrong badge url when root path is set
[[#3033](#3033)]
- Fix docs label
[[#3028](#3028)]

### 📚 Documentation

- Update go report card badge
[[#3029](#3029)]

### Misc

- Add some tests
[[#3030](#3030)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants