Skip to content

build: go1.26を最低バージョンにし、go1.27をビルド環境に追加 - #109

Merged
crow-misia merged 1 commit into
mainfrom
update-go
Aug 28, 2026
Merged

build: go1.26を最低バージョンにし、go1.27をビルド環境に追加#109
crow-misia merged 1 commit into
mainfrom
update-go

Conversation

@crow-misia

@crow-misia crow-misia commented Aug 28, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • 改善
    • Go 1.26以降に対応しました。
    • ビルド環境と開発要件を更新し、最新のGoバージョンで検証できるようになりました。
    • パディング処理とノンス生成の内部実装を更新しましたが、動作は従来どおりです。
  • 依存関係
    • テストおよび関連ライブラリを更新しました。

Signed-off-by: Zenichi Amano <crow.misia@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 28, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: e7ef1c40-b199-487d-bad4-7d830180f65c

📥 Commits

Reviewing files that changed from the base of the PR and between 1699c4d and 3ea7ce5.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (6)
  • .github/workflows/build.yml
  • .idea/http-ece.iml
  • README.md
  • contentencoding.go
  • go.mod
  • utils.go

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

Go 1.26対応として、依存関係、CIのバージョン行列、README、IDE設定を更新しました。コードでは整数レンジ構文とslices.Backwardを使用しました。

Changes

Go 1.26対応

Layer / File(s) Summary
Goバージョンと依存関係の更新
.github/workflows/build.yml, go.mod
Goの基準バージョンを1.26.0に更新しました。CIはGo 1.26と1.27を使用します。依存関係と間接依存関係を更新しました。
Go構文の更新
utils.go, contentencoding.go
generateNonceで整数レンジ構文を使用しました。AES128GCMの逆順走査をslices.Backwardに置き換えました。判定処理は維持しています。
プロジェクト設定と要件の更新
.idea/http-ece.iml, README.md
Goモジュール設定をIDE設定に追加しました。READMEの必要なGoバージョンを1.26以降に更新しました。

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

Merge Risk: ⚪ Minimal · up to 3ea7c

No actionable merge-blocking risk remains based on the supplied evidence; the PR is merge-ready after normal checks and review.

Poem

うさぎはGoの庭を跳ねる
1.26の道を軽く走る
nonceの輪を整えて
逆順の葉をslices.Backwardで拾う
CIの列に新しい足跡
月明かりの下、設定も揃う

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (4 skipped: 4 … Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed タイトルは、Go 1.26を最低バージョンに設定し、Go 1.27をビルド環境に追加する主要な変更を正確かつ簡潔に示しています。
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.
Full details: Docstring Coverage

Explanation

Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. (4 skipped: 4 unsupported.)

  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-go

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.

@crow-misia
crow-misia merged commit c90f816 into main Aug 28, 2026
12 checks passed
@crow-misia
crow-misia deleted the update-go branch August 28, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant