build: configure GitHub Copilot coding agent environment#742
Merged
build: configure GitHub Copilot coding agent environment#742
Conversation
Co-authored-by: lklimek <842586+lklimek@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Configure GitHub Copilot environment for project build
build: configure GitHub Copilot coding agent environment
Mar 12, 2026
Co-authored-by: lklimek <842586+lklimek@users.noreply.github.com>
lklimek
reviewed
Mar 12, 2026
Co-authored-by: lklimek <842586+lklimek@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated GitHub Actions workflow to provision the GitHub Copilot coding agent environment with required system dependencies, Rust toolchain, protoc, and a pre-build step intended to run the Tenderdash proto download outside the sandboxed agent session.
Changes:
- Introduces
.github/workflows/copilot-setup-steps.ymlwith the requiredcopilot-setup-stepsjob. - Installs Linux build dependencies, Rust 1.92 (with clippy/rustfmt), and protoc v25.2.
- Attempts to pre-build
tenderdash-prototo trigger Tenderdash proto source download before the agent runs.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
lklimek
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The GitHub Copilot coding agent needs a pre-configured environment to build this project: system libs, pinned Rust toolchain, protoc, and a pre-build pass to handle
tenderdash-proto-compilerdownloading Tenderdash sources (which requires internet access unavailable inside the agent's sandboxed session).Changes
.github/workflows/copilot-setup-steps.yml— new workflow; job namecopilot-setup-stepsis required by Copilot:build-essential,pkg-config,clang,cmake,libsqlite3-dev(matching other project workflows)actions-rs/toolchain@v1withrustfmt+clippycomponents (matchingclippy.yml)actions/cache@v4with the same key/path astests.yml/clippy.ymltests.yml/clippy.ymlcargo build -p tenderdash-proto --lockedviaactions-rs/cargo@v1to trigger thetenderdash-protobuild script, which downloads Tenderdash proto sources — targeted to just the package that needs internet, not the full workspacepull_requesttrigger (path-filtered) enables testing the workflow via PRscontents: readpermission scopeOriginal prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.