yesodweb / yesodweb/persistent

persistent testsuite failed for i686

Open
#1,583 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
486
Forks
306
PR merge metrics
No merged PRs in 30d

Description

This just mostly an FYI - for Fedora 43 I am building the testsuite and it fails in i686:

Failures:
  test/Database/Persist/THSpec.hs:267:26: 
  1) Database.Persist.THSpec.HasIdDef should have correct underlying sql type
       expected: SqlInt64
        but got: SqlInt32
  To rerun use: --match "/Database/Persist/THSpec/HasIdDef/should have correct underlying sql type/" --seed 732021011
Randomized with seed 732021011
Finished in 0.0477 seconds
256 examples, 1 failure, 2 pending
Test suite test: FAIL
Test suite logged to: dist/test/persistent-2.14.6.3-test.log

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by rerunning the test suite and the focused match for Database/Persist/THSpec.hs:267:26, using seed 732021011 to reproduce the i686 failure. Read the HasIdDef test and surrounding type definitions to establish whether SqlInt32 or SqlInt64 is expected on i686; done means the intended behavior is defined and the persistent test suite passes on that architecture.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.