Skip to content

Codespaces: Pull Request Validation for prebuild-enabled repositories  #537

Closed as not planned

Description

@github-product-roadmap

Summary

Prebuilds enable fast codespace creation experience for large and/or complex projects by performing all the heavy-lifting tasks required to build your development environment beforehand. Think of a prebuild as a 'ready-to-go' template where your source code, editor extensions, project dependencies, commands, or configurations have already been downloaded, installed, and applied so that you don't have to wait for these tasks to finish in real-time every time you create a new Codespace.

This functionality enables developers to test their changes while creating a pull request that might affect the prebuild configuration for their prebuild-enabled branch.

Intended Outcome

With a Pull Request Validation step available to prebuild-enabled branches, developers can validate upfront if their changes may adversely affect the prebuild configuration for their branch. With this, developers no longer have to worry about accidently breaking the prebuild for a branch by testing and making any fixes upfront thus ensuring everyone continues to have a fast creation experience. Additionally repository admins/team leads will have additional confidence around prebuilds being steady and reliable without any manual interference.

How will it work?

  • For prebuild enabled repositories, when a developer wants to push a change that updates the underlying prebuild configuration for that branch (ex. update the devcontainer configuration), GitHub will automatically introduce a test to validate if the changes will in any way cause the prebuild configuration to break. Initially this experience will only be supported via the GitHub UI, with support for CLI coming in as a fast follow.
  • Developers will also have a link to the build log once the test completes to fix any issues they might discover before merging the PR thus ensuring prebuilds continue to work without any failures for their branch and repository.

image

Activity

  1. locked and limited conversation to collaborators on Aug 17, 2022
  2. added
    cloudAvailable on Cloud
    codespacesFeature: GitHub Codespaces
    GAFeature phase: Generally available
    EnterpriseProduct SKU: GitHub Enterprise
    github teamProduct SKU: GitHub Team
    on Aug 17, 2022
  3. moved this to Q3 2022 – Jul-Sep in GitHub Public Roadmapon Aug 17, 2022
  4. moved this from Q3 2022 – Jul-Sep to Q4 2022 – Oct-Dec in GitHub Public Roadmapon Oct 19, 2022
  5. moved this from Q4 2022 – Oct-Dec to Q2 2023 – Apr-Jun in GitHub Public Roadmapon Jan 25, 2023
  6. moved this from Q2 2023 – Apr-Jun to Future in GitHub Public Roadmapon Jun 12, 2023
  7. ankneis commented on Nov 20, 2024

    @ankneis
    Contributor

    This issue is being closed as outdated. For more information, please check out this Discussion post. Stay tuned for new additions to our refreshed public roadmap!

  8. ankneis commented on Dec 6, 2024

    @ankneis
    Contributor

    We wanted to provide more details on why we removed this from the roadmap. We are currently prioritizing other features on our roadmap at this time, and are removing this from the roadmap until we are able to prioritize this again.

    If you’re interested in this feature, please share your feedback in the GitHub community so we can track interest and consider it in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnterpriseProduct SKU: GitHub EnterpriseGAFeature phase: Generally availablecloudAvailable on CloudcodespacesFeature: GitHub Codespacesgithub teamProduct SKU: GitHub Team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions