Build the dbkit/sqlite options tests on 32-bit systems
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
dbkit/sqlite/options_test.goを見つけ、「a cache size past 32 bits.」というラベルの拒否行を調べてください。テストがstrconv.IntSizeをどのように扱っているか確認し、32ビットのターゲットとネイティブターゲットでdbkit/sqliteのテストを実行してください。32ビットシステムでテストファイルがコンパイルされ、vetが実行される一方、その行が64ビットシステムでは引き続き実行されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
go vet with GOOS=linux and GOARCH=386 or GOARCH=arm stops in the dbkit/sqlite options tests.
Current state: the refusal row 'a cache size past 32 bits' in options_test.go sets CacheSize, an int, to math.MaxInt32 + 1. On a 32-bit system that number does not fit in an int, so the test file does not compile there and vet reports nothing else for the package.
Proposal: add that row only where an int is 64 bits wide (strconv.IntSize == 64), so the file compiles on 32-bit systems and the row still runs on 64-bit ones.
Trigger: someone runs the tests or vet of dbkit/sqlite for a 32-bit target.
- 主要言語
- Go
- スター
- 69
- フォーク
- 3
- 平均マージ
- 9時間 11分
- マージ済み PR(30日)
- 38
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gopherium/framework のほかの issue
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
enhancement help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
gopherium/framework の issue をすべて見る
似ている issue
-
[flaky test] TestValidatorCommitterDropsEmptyStatusBatch: submits to the mock VC before its stream is registered対応中かも @liran-funaro が今日担当しました。 オープンcoordinator flaky-test race-condition testing
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
hyperledger/fabric-x-committer#876 ·
メンテナーはふだん 1 日以内に返信
-
kind/features
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
TencentBlueKing/bk-nodemgr#3804 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cloudnative-pg/plugin-barman-cloud#1187 ·
メンテナーはふだん 1 日以内に返信
-
[deliverclient] Remove the unused common/deliverclient package対応中かも @liran-funaro が今日担当しました。 オープンcode-hygiene
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hyperledger/fabric-x-common#236 ·
メンテナーはふだん 1 日以内に返信
-
consensus feature I2 S4 U2
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信