Skip to content

Go: fix release - #16722

Merged
JinHai-CN merged 1 commit into
infiniflow:mainfrom
JinHai-CN:fix525
Jul 7, 2026
Merged

JinHai-CN merged 1 commit into
infiniflow:mainfrom
JinHai-CN:fix525

Conversation

@JinHai-CN

Copy link
Copy Markdown
Member

Summary

Remove ragflow-cli building dependency

Signed-off-by: Jin Hai <[email protected]>
@JinHai-CN
JinHai-CN marked this pull request as ready for review July 7, 2026 12:57
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Jul 7, 2026
@coderabbitai

coderabbitai Bot commented Jul 7, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9a35097b-be93-447e-a880-490e0861e0b7

📥 Commits

Reviewing files that changed from the base of the PR and between 9e87fc6 and b6531bd.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

📝 Walkthrough

Walkthrough

The release workflow simplifies Go CLI release builds on Unix and Windows by removing CGO flag construction and linkage validation steps, and by replacing them with minimal environment setup plus a compiler version check.

Changes

Release Workflow CGO Build Simplification

Layer / File(s) Summary
Unix build step simplification
.github/workflows/release.yml
Removes target-specific CGO_CFLAGS/CGO_LDFLAGS derivation and debug output, leaving only CGO_ENABLED=1; removes the Linux ldd-based dynamic linkage check for liboffice_oxide.
Windows build step simplification
.github/workflows/release.yml
Removes $officeOxidePrefix path normalization and prior validation of required static libraries/PCRE2 paths and CGO flag construction, replacing with minimal CGO_ENABLED/CC/GOOS/GOARCH setup and a compiler version print.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

  • infiniflow/ragflow#16078: Both PRs modify .github/workflows/release.yml’s Go CLI CGO setup around the office_oxide dependency and Linux linkage validation.
  • infiniflow/ragflow#16184: Both PRs modify the same Go CLI build steps in .github/workflows/release.yml for Unix and Windows CGO configuration.
  • infiniflow/ragflow#16223: Both PRs modify the Windows release.yml Go CLI build step’s CGO flag and static-linking validation logic.

Suggested labels: ci

Suggested reviewers: yingfeng, yuzhichang

Poem

A rabbit hops through YAML light,
Trimming flags to keep builds right.
No ldd chase, no paths to bend,
Just CC and GOARCH to the end.
🐇


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN
JinHai-CN merged commit fe835fd into infiniflow:main Jul 7, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant