Repository navigation
chore: set up the contribution workflow - #11
Merged
Merged
Conversation
- CONTRIBUTING.md: development setups, project layout, rules for native code, tests, PR titles and releases, and what CI checks. - Issue forms for bug reports (with a diagnostics snippet, versions and a minimal reproduction) and feature requests; blank issues disabled. - Pull request template with a checklist. - scripts/micro-ceph.sh starts a disposable single-node cluster (one monitor, one memstore OSD, no auth) for the integration tests. - The devcontainer installs ceph-mon and ceph-osd and starts that cluster, so npm test also runs the integration suite there. - npm run test:docker builds and runs every check in the devcontainer image from any host with Docker, including macOS. - CI runs the integration suite on Squid and Tentacle and compiles with GCC 15 on every pull request, and checks that PR titles follow Conventional Commits. The release job waits for both new jobs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
🎉 This PR is included in version 1.2.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
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.
Sets up everything a new contributor needs: a guide, issue and PR templates, a throwaway Ceph cluster for the integration tests, and CI that runs those tests on every pull request.
For contributors
CONTRIBUTING.md: three development setups, the project layout, rules for native code (in-flight guard, error reporting, lifetimes, coverage manifest), testing rules, how the PR title decides the release, and what CI checks.CephErrorfields or crash output, how often it happens, the last working version, and cluster context.Running the integration tests without a cluster
scripts/micro-ceph.shstarts a disposable single-node cluster: one monitor, one in-memory OSD, no auth. It is ready in a few seconds.ceph-mon/ceph-osdand starts that cluster on every start.CEPH_INTEGRATIONandCEPH_CONFare set, sonpm testincludes the integration suite.npm run test:dockerruns the native build, type check, unit and integration tests and the API coverage check in the devcontainer image, from any host with Docker, macOS included.CEPH_RELEASE=tentacleswitches release.node_modulesandbuild/live in Docker volumes, so the working tree is not touched.CI on pull requests
integration (squid),integration (tentacle)newest-compilerPR titleThe release job now also waits for
integrationandnewest-compiler.Tested locally
npm run test:dockeron macOS (arm64): build without warnings, type check, 9/9 tests, coverage check. About 3 minutes.integrationjob replayed inubuntu:22.04on Tentacle (librados 20.2.5): 4/4 integration tests. Squid has been tested throughout the PR reviews.newest-compilerjob replayed ingcc:15: GCC 15.3, all sources compile.🤖 Generated with Claude Code