Skip to content

docs: align onnxruntime_go binding version in comments with go.mod (v1.29.0) - #20370

Merged
yuzhichang merged 2 commits into
infiniflow:mainfrom
xugangqiang:fix/onnxruntime-go-comment-version
Sep 29, 2026
Merged

yuzhichang merged 2 commits into
infiniflow:mainfrom
xugangqiang:fix/onnxruntime-go-comment-version

Conversation

@xugangqiang

Copy link
Copy Markdown
Contributor

Summary

The go.mod comment and the DeepDocORTVersion doc comment claimed the org-owned infiniflow/onnxruntime_go binding tracks ORT v1.23.0, but go.mod actually requires v1.29.0 and DeepDocORTVersion is "1.29.0". The docs therefore contradicted the pinned dependency and misled readers into checking the wrong upstream tag.

  • go.mod: update "fork of yalue/onnxruntime_go at v1.23.0" → "at v1.29.0, matching the ORT native release in DeepDocORTVersion".
  • internal/common/environments.go: update the binding↔ORT minor example from "(v1.23.0 <-> ORT 1.23.x)" to "(v1.29.0 <-> ORT 1.29.x)".

These are doc-only changes; no code or dependency versions are modified.

Test plan

  • gofmt clean on the changed .go file.
  • No remaining v1.23.0/1.23.x binding references in go.mod or internal/common/environments.go.

…1.29.0)

The go.mod comment and the DeepDocORTVersion doc claimed the
infiniflow/onnxruntime_go binding tracks ORT v1.23.0, but go.mod actually
requires v1.29.0 and DeepDocORTVersion is "1.29.0". Update both comments
to reflect the real, aligned minor (v1.29.0 <-> ORT 1.29.x) so the docs no
longer contradict the pinned dependency.
@xugangqiang xugangqiang added the ci Continue Integration label Sep 29, 2026
@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 250d0862-6d55-4fe9-81b2-9aaa4e9f9f6c

📥 Commits

Reviewing files that changed from the base of the PR and between 6f0f74b and abcbfc8.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: acc22d73-3e50-4a5c-ade4-5e48c7735c3a

📥 Commits

Reviewing files that changed from the base of the PR and between bb14979 and 6f0f74b.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

The gomsg replacement now targets github.com/infiniflow/gomsg at the existing version. ONNX Runtime references now use v1.29.0 and 1.29.x. The version constant is unchanged.

Changes

Module dependency and ONNX Runtime references

Layer / File(s) Summary
Dependency and version references
go.mod, internal/common/environments.go
The gomsg replacement target changes to github.com/infiniflow/gomsg at the existing version. The ONNX Runtime fork comment and documentation example refer to v1.29.0 and 1.29.x. The version constant is unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: jinhai-cn

Merge Risk: ⚪ Minimal · up to 6f0f7

The dependency switch preserves the parser’s required API, and the ONNX Runtime edits update references without changing the runtime pin. No actionable merge-blocking risk is established.

Architecture Summary

Architecture risk: 🔵 Low · up to 6f0f7

The change affects 2 systems.

Changed systems: go.mod, internal

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — go.mod (service) was modified; 1 changed file maps to changed impact.
  • observed — internal (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in internal/common/environments.go: Updated the documented binding-to-ONNX Runtime version example from v1.23.0 / 1.23.x to v1.29.0 / 1.29.x; the version constant is unchanged.
  • observed — Modified behavior in go.mod: The gomsg replacement now targets github.com/infiniflow/gomsg instead of github.com/xugangqiang/gomsg, retaining the existing version. The ONNX Runtime fork comment updates its referenced version from v1.23.0 to v1.29.0.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the documentation alignment in the changed comments. It does not mention the gomsg dependency fork change, but it remains related to a real part of the changeset.
Description check ✅ Passed The description includes the required Summary section and clearly explains the background, file changes, scope, and test plan. It is sufficiently complete for review.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

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

A rabbit checks the module trail,
A new gomsg fork takes the mail.
Version notes now say one-twenty-nine,
The unchanged constant stays in line.
Then off I hop beneath the pine.

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

The gomsg dependency was redirected via replace to a personal GitHub
account fork (github.com/xugangqiang/gomsg). Point it at the org-owned
mirror github.com/infiniflow/gomsg instead, matching the convention used
for onnxruntime_go, so the build no longer depends on a personal account.

The org fork keeps the upstream module path github.com/AkmalOt/gomsg at
the same commit, so no import paths change and the gomsg.Decode / Message
API the email parser uses is unchanged.
@xugangqiang
xugangqiang force-pushed the fix/onnxruntime-go-comment-version branch from 6f0f74b to abcbfc8 Compare September 29, 2026 08:33
@yuzhichang
yuzhichang merged commit 3bff368 into infiniflow:main Sep 29, 2026
6 checks passed
@xugangqiang
xugangqiang deleted the fix/onnxruntime-go-comment-version branch October 28, 2026 02:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continue Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants