Gha revdep packages.2407#3
Conversation
WalkthroughThe changes introduce a new CI workflow job and supporting script logic to test reverse dependencies of the project using an Changes
Sequence Diagram(s)sequenceDiagram
participant GitHub Actions
participant Main Script
participant Dependent Project Repo
participant OPAM
GitHub Actions->>Main Script: Set OPAM_DEPENDS=1 and run script
Main Script->>OPAM: List libraries in current project
Main Script->>OPAM: Find packages depending on these libraries
loop For each dependent package
Main Script->>Dependent Project Repo: Clone and checkout branch
Main Script->>OPAM: Create switch, pin project, install dependencies
Main Script->>OPAM: Install package and record errors
end
Main Script->>GitHub Actions: Export error info for reporting
Poem
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
87e7a16 to
db43d0b
Compare
ac3dfe9 to
a799a77
Compare
9144dca to
9e0d395
Compare
6e5e04e to
e7440a9
Compare
e7440a9 to
14343eb
Compare
3edeb90 to
76873ef
Compare
Co-authored-by: arozovyk <artemiy.rozovyk@ocamlpro.com>
9556aa3 to
9f7faa2
Compare
e237392 to
b37100b
Compare
|
Tested projects: builder-web dream dune-release mvar odep odig odoc-driver opam-0install opam-0install-cudf opam-dune-lint opam-graph opam-lock opam-publish orb topkg-care |
|
Tested projects: builder-web dream dune-release mvar odep odig odoc-driver opam-0install opam-0install-cudf opam-dune-lint opam-graph opam-lock opam-publish orb topkg-care |
650d9a8 to
442f126
Compare
Co-authored-by: arozovyk <artemiy.rozovyk@ocamlpro.com>
442f126 to
11a3d02
Compare
| FAIL="" | ||
| for critical in $FAIL_IF_DEPENDENT; do | ||
| if echo "$LIB_ERRORS" | grep -wq "$critical"; then | ||
| FAIL="$FAIL $critical" | ||
| fi | ||
| done |
There was a problem hiding this comment.
| FAIL="" | |
| for critical in $FAIL_IF_DEPENDENT; do | |
| if echo "$LIB_ERRORS" | grep -wq "$critical"; then | |
| FAIL="$FAIL $critical" | |
| fi | |
| done | |
| FAIL="" | |
| set +x | |
| for critical in $FAIL_IF_DEPENDENT; do | |
| if echo "$LIB_ERRORS" | grep -wq "$critical"; then | |
| FAIL="$FAIL $critical" | |
| fi | |
| done | |
| set -x |
Uh oh!
There was an error while loading. Please reload this page.