Skip to content

Conversation

@jupblb
Copy link
Member

@jupblb jupblb commented Aug 21, 2025

Added https://github.com/google/guava to SCIP index uploads. Used matrix strategies - I think it'll pay off as we add more repositories. The only disadvantage is that we have some steps strictly related to scip binary (but not too many).

Part of GRAPH-1255. Used amp for editing: thread.

Test plan

jupblb and others added 4 commits August 21, 2025 18:47
- Uses scip-java container to index Google Guava repository
- Similar to index-k8s job but for Java instead of Go

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0
- Consolidated two jobs into one with matrix strategy
- Removed redundant parameters (upload_repo, container, install_go)
- Derive values from scip_binary when possible
- Reduced workflow from 112 to ~75 lines

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0
Cache Maven artifacts to speed up scip-java runs that download many dependencies

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0
…ific commands

- Dropped id parameter, use repository name directly
- Renamed checkout_repo to repository
- Fixed Maven cache key to avoid hashFiles error
- Added case statement to handle scip-go vs scip-java command differences

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0
@jupblb jupblb requested a review from varungandhi-src August 21, 2025 17:30
@jupblb jupblb self-assigned this Aug 21, 2025
@jupblb jupblb force-pushed the michal/GRAPH-1255 branch from e374c4c to 187e388 Compare August 22, 2025 11:56
Added `apache/pekko` and `arrow-kt/arrow`.
@jupblb jupblb force-pushed the michal/GRAPH-1255 branch from 187e388 to 070a381 Compare August 22, 2025 12:19
@jupblb jupblb changed the title feat: Upload google/guava SCIP index feat: Upload google/guava and apache/pekko SCIP index Aug 22, 2025
@varungandhi-src varungandhi-src merged commit 251bdc2 into main Aug 25, 2025
9 checks passed
@varungandhi-src varungandhi-src deleted the michal/GRAPH-1255 branch August 25, 2025 10:05
zfy0701 pushed a commit to sentioxyz/scip that referenced this pull request Sep 6, 2025
* Add index-guava job to SCIP examples workflow

- Uses scip-java container to index Google Guava repository
- Similar to index-k8s job but for Java instead of Go

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0

* Simplify workflow using matrix strategy

- Consolidated two jobs into one with matrix strategy
- Removed redundant parameters (upload_repo, container, install_go)
- Derive values from scip_binary when possible
- Reduced workflow from 112 to ~75 lines

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0

* Add Maven dependency caching for scip-java

Cache Maven artifacts to speed up scip-java runs that download many dependencies

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0

* Refactor workflow: remove id param, fix Maven cache, handle tool-specific commands

- Dropped id parameter, use repository name directly
- Renamed checkout_repo to repository
- Fixed Maven cache key to avoid hashFiles error
- Added case statement to handle scip-go vs scip-java command differences

Co-authored-by: Amp <[email protected]>
Amp-Thread-ID: https://ampcode.com/threads/T-9377a689-7d20-47bd-b80c-ad46731df1b0

* Add more JVM repositories

Added `apache/pekko` and `arrow-kt/arrow`.

---------

Co-authored-by: Amp <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants