Build the dbkit/sqlite options tests on 32-bit systems
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Find dbkit/sqlite/options_test.go and inspect the refusal row labeled “a cache size past 32 bits.” Check how the test handles strconv.IntSize and run the dbkit/sqlite tests for a 32-bit target and the native target. Done means the test file compiles and vet runs on 32-bit systems, while the row still runs on 64-bit systems.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 69
- Forks
- 3
- Avg merge
- 9h 11m
- Merged PRs (30d)
- 38
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from gopherium/framework
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 3/5 1-2 days Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
bug help wanted
Difficulty 3/5 1-2 days Newbie friendliness 66/100
Maintainers usually reply within 1 day
All issues in gopherium/framework
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 61/100
Maintainers usually reply within 1 day
-
stage-fail
Difficulty 1/5 Under an hour Newbie friendliness 72/100
siyuan-note/bazaar#2405 ·
Maintainers usually reply within 1 day
-
bug priority: high workstream:cache
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rossoctl/context-guru#707 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
prime-radiant-inc/evener#5028 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day