rubyforgood / human-essentials

Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
https://humanessentials.app
MIT License
466 stars 494 forks source link

Resolves #3829 Improve codespaces debugging #4482

Closed jimmyli97 closed 3 months ago

jimmyli97 commented 4 months ago

Fix #3829

Description

Motivation

I think it's safe to close #3829 with these fixes because I've been doing all my development in codespaces with this setup recently and it's working great.

Dependencies

gem "debug", ">= 1.0.0"

Type of change

How Has This Been Tested?

Screenshots

jimmyli97 commented 3 months ago

@awwaiid

Looks like speeding up the container build is possible with a Github action prebuilding and pushing to ghcr.io, which is free storage for public repos, following this guide (https://containers.dev/guide/prebuild), I might be able to look into it when I have a chance

(previous comment before edit) probably the best way to speed it up is with [codespace prebuilds] (https://docs.github.com/en/codespaces/prebuilding-your-codespaces/configuring-prebuilds#configuring-prebuilds), which takes up billable storage in the organization repo, and has to be done by someone with admin access, and moving the post-create.sh to updateContentCommand so the prebuild builds it. I can open an issue for that if you want, not sure if that's something you have the storage or the time for.

github-actions[bot] commented 3 months ago

@jimmyli97: Your PR Resolves #3829 Improve codespaces debugging is part of today's Human Essentials production release: 2024.08.11. Thank you very much for your contribution!