casa icon indicating copy to clipboard operation
casa copied to clipboard

refactor: remove transition_aged_youth and only use casa_case.birth_month_year_youth

Open compwron opened this issue 4 years ago • 14 comments

refactor: remove all usages of casa_case.transition_aged_youth and only use casa_case.birth_month_year_youth and also make a migration to remove casa_case.transition_aged_youth. Make sure to use "Rails Ignored Columns".

We want to do this because having two different flags for this is having extra state which is unnecessary.

Also remove this rake task and the heroku job that runs it in qa, staging, and prod.

desc "Transition youth who are now 14, run by heroku scheduler"
task transition_youth: :environment do
  puts "Updating casa cases..."
  CasaCase.should_transition.update_all(transition_aged_youth: true)
  puts "done."
end

compwron avatar Jun 12 '21 01:06 compwron

Hi, I am going to work on this issue.

hiendinhngoc avatar Aug 28 '21 14:08 hiendinhngoc

https://www.cloudbees.com/blog/rails-migrations-zero-downtime is important reading for zero downtime migrations

compwron avatar Aug 30 '21 15:08 compwron

This issue has been inactive for 248 hours (10.33 days) and will be automatically unassigned after 112 more hours (4.67 days).

github-actions[bot] avatar Sep 10 '21 00:09 github-actions[bot]

This issue has been inactive for 368 hours (15.33 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Sep 15 '21 00:09 github-actions[bot]

@hiendinhngoc How's it going? :)

compwron avatar Sep 19 '21 22:09 compwron

@hiendinhngoc How's it going? :)

compwron avatar Oct 07 '21 02:10 compwron

@compwron hi, sorry for the delay, I will complete this task tomorrow.

hiendinhngoc avatar Oct 16 '21 07:10 hiendinhngoc

@compwron hi, I am sorry I cannot fix the bug on time. There are so many conflicts and after fixing, the failed tests increase, I am figuring out.

hiendinhngoc avatar Oct 18 '21 17:10 hiendinhngoc

No worries, this is hard! It's ok if you want to work on something else or take more time. Just let me know what you plan :)

compwron avatar Oct 18 '21 17:10 compwron

thanks, I plan to fix the bug completely by the next Monday, I may spend more time at this weekend.

hiendinhngoc avatar Oct 20 '21 14:10 hiendinhngoc

This issue has been inactive for 250 hours (10.42 days) and will be automatically unassigned after 110 more hours (4.58 days).

github-actions[bot] avatar Oct 31 '21 00:10 github-actions[bot]

hi @compwron, sorry for getting back to this issue so late. I tried to fix the failed test but did not succeed plus I am currently so busy and cannot spend much time with it. Could you assign it to someone who can spend more time on it?

hiendinhngoc avatar Nov 03 '21 16:11 hiendinhngoc

@hiendinhngoc I will do that. Thanks! Good luck with your stuff. Come hang out with us any time :)

compwron avatar Nov 03 '21 19:11 compwron

This issue has been inactive for 8189 hours (341.21 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project.

github-actions[bot] avatar Oct 11 '22 00:10 github-actions[bot]

I would like to take on this issue. Thanks

dvsconcept1986 avatar Mar 14 '23 13:03 dvsconcept1986

This issue has been inactive for 395 hours (16.46 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project.

github-actions[bot] avatar Mar 31 '23 00:03 github-actions[bot]

this is done! :)

compwron avatar Apr 07 '23 18:04 compwron