Add comprehensive GitHub Copilot instructions for scylla-bench development #213
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.
This PR adds a comprehensive
.github/copilot-instructions.md
file that provides detailed guidance for GitHub Copilot coding agents working with the scylla-bench codebase.Key Features
The instructions include:
write
- Insert new data using INSERT statements for populating databasesread
- Read existing data using SELECT statements for testing read performancecounter_update
- Update counter columns for testing counter performancecounter_read
- Read counter values for verifying counter operationsscan
- Perform full table scans using token range queriest.Parallel()
for all new features-race
flag (enabled inmake test
)Important Safeguards
The instructions emphasize critical requirements:
go install
directly, which bypasses the replace directive and breaks shard-awarenessValidation
All commands and scenarios in the instructions have been thoroughly tested:
The instructions follow the imperative tone requirement and provide exhaustive detail to ensure GitHub Copilot agents can work effectively with minimal trial-and-error.
Fixes #212.
Warning
https://api.github.com/repos/scylladb/gocql/releases
./build/scylla-bench -version
(http block)./build/scylla-bench -version-json
(http block)i6a5h9l1kl.execute-api.us-east-1.amazonaws.com
/opt/scylladb/scripts/../python3/bin/python3 /opt/scylladb/python3/bin/../libexec/python3.13.bin -s /opt/scylladb/scripts/libexec/scylla-housekeeping --uuid-file /var/lib/scylla-housekeeping/housekeeping.uuid --repo-files /etc/apt/sources.list.d/scylla*.list -q version --mode cr
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.