Skip to content

Codespaces examples, known issues, and workarounds

Notifications You must be signed in to change notification settings

urcomputeringpal/codespaces-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

codespaces-examples

A collection of notes about GitHub Codespaces

Useful tools

Prebuild Failure Notification Issues

This action can be copied/pasted into any repository that contains a Codespaces Prebuild to open an issue when a prebuild configuration fails and close it when it's working again.

Known Issues

Forwarded Ports are unstable after rebuild if using Docker Compose

Sometimes they don't work at all, sometimes they drop every other request. Manually stopping and then stopping the port-forward seems to work around the problem.

Reproduction and details here: https://github.com/jnewland/devcontainer-example/tree/docker-compose-port-forward

Notification of failed Codespaces Prebuilds require Actions notifications to be enabled

GitHub's built-in feature for being notified if Codespace prebuilds fail has an undocumented dependency:

image

For some reason, this requires any user configured to receive those notifications to also have a setting enabled that would send them notifications for all other failing Actions workflows they trigger. This is unfortunately a totally overwhelming amount of email for anyone, but especially too much email for an integrator of a tool like Actions that requires 'live debugging' and the judicious use of workarounds that require Personal Access tokens. 😅 I have heard legends that getting the results of all builds that you trigger in your inbox is a MSFT cultural norm, but it's not really my cup of tea.

image

https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs

Contact

Interested in help with your repository's Codespaces configuration? Get in touch!

About

Codespaces examples, known issues, and workarounds

Topics

Resources

Code of conduct

Stars

Watchers

Forks