django-hordak icon indicating copy to clipboard operation
django-hordak copied to clipboard

chore: Changing Appconfig default_auto_field to BigAutoField

Open Lekhanshlkr opened this issue 2 years ago • 7 comments

changing the id field from AutoField to BigAutoField to support wide range of numeric id combinations

Lekhanshlkr avatar Jul 28 '23 10:07 Lekhanshlkr

@PetrDlouhy Please review this

kumarnmanoj avatar Jul 29 '23 10:07 kumarnmanoj

@Lekhanshlkr Generally looks good, thank you very much. Would you please look at the failed tests?

PetrDlouhy avatar Jul 31 '23 11:07 PetrDlouhy

@PetrDlouhy I've applied black formatting to my code. The other issue was related to failing of the mariadb core in the ci.yml. Could you please look into it?

Lekhanshlkr avatar Jul 31 '23 11:07 Lekhanshlkr

@Lekhanshlkr I fixed the mariadb problem in master branch. Could you please rebase?

PetrDlouhy avatar Aug 03 '23 14:08 PetrDlouhy

Codecov Report

Patch and project coverage have no change.

Comparison is base (79703ea) 92.97% compared to head (2cae7eb) 92.97%. Report is 1 commits behind head on master.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #99   +/-   ##
=======================================
  Coverage   92.97%   92.97%           
=======================================
  Files          59       59           
  Lines        3829     3829           
  Branches      250      250           
=======================================
  Hits         3560     3560           
  Misses        224      224           
  Partials       45       45           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Aug 04 '23 11:08 codecov-commenter

@PetrDlouhy There are still tests failing with MariaDB. Could you please look into it?

Lekhanshlkr avatar Aug 05 '23 06:08 Lekhanshlkr

@Lekhanshlkr I am not sure why this happens. The master branch now passes all tests, so it shouldn't be the issue. The only thing I can think of is, that maybe the parent_id fields has stayed in the 32-bit format (weren't migrated) and that is causing the problems.

PetrDlouhy avatar Aug 09 '23 09:08 PetrDlouhy

Thank you for this @Lekhanshlkr! I recreated these changes locally and all the checks seemed to pass happily. I guess something got resolved since August. I'll close this PR, but your proposed changes have now been merged in #112.

adamcharnock avatar May 27 '24 11:05 adamcharnock