News

GitHub Previews Faster Codespaces Creation with Prebuilds

GitHub announced a public beta of Codespaces prebuilds to speed up the creation of the cloud-hosted Visual Studio Code-based development environments.

Those VS Code environments served up via virtual machines (VMs) proved to be so successful after a May 2020 debut that the Microsoft-owned GitHub ditched its local macOS development model in favor of Codespaces.

The company this week announced the public beta of prebuilds to take care of all the manual set-up details needed before a coder can start coding. That includes things like cloning a repo, perhaps building a custom Dockerfile, installing project dependencies and editor extensions, initializing scripts, and more, GitHub said in a Feb. 23 blog post. All of that bootstrapping can take a lot longer in big repos with complex configurations.

Prebuild Templates
[Click on image for larger view.] Prebuild Templates (source: GitHub).

GitHub's developers used prebuilds to significantly speed up their bootstrapping work and subsequently decided to share the functionality with users.

"A prebuilt codespace will serve as a 'ready-to-go' template where your source code, editor extensions, project dependencies, commands, and configurations have already been downloaded, installed, and applied so that you don't have to wait for these tasks to finish each time you create a new codespace," said GitHub's Tanmayee Kamath in yesterday's announcement.

The public beta program follows a private preview that provided feedback for the public offering, which Kamath said now provides:

  • You can now identify and quickly get started with a fast create experience by selecting machine types that have a "prebuild ready" tag.
    Prebuild Templates
    [Click on image for larger view.] Prebuild Templates (source: GitHub).
  • A seamless configuration experience helps repository admins easily set up and manage prebuild configurations for different branches and regions.
  • To reduce the burden on repository admins around managing Action version updates for each prebuilt branch, we introduced support for GitHub Actions workflows that will be managed by the Codespaces service.
  • Prebuild configurations are now built on GitHub Actions virtual machines. This enables faster prebuild template creations for each push made to your repository, and also provides repository admins with access to a rich set of logs to help with efficient debugging in case failures occur.

To take part in the public beta, organizations must be enlisted in GitHub Enterprise Cloud or Team plans. More information can be found in the blog post linked above, documentation and discussion.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube