The review backlog is long enough that a single contributor holding many open PRs makes it harder for any of them to get proper attention. This adds a nudge rather than a gate. On open or reopen, a workflow counts the author's open PRs and, above five, adds an `over-pr-limit` label and posts one comment linking their open PRs. It never closes a PR and never fails a check, both paths exit zero. Bots and maintainers are exempt, so dependabot can hold as many as it needs. The comment is posted at most once per PR via a marker, and the label is removed automatically when the author drops back under the limit. `pull_request_target` is used so the token can label fork PRs. The workflow never checks out or runs PR code, it only calls the GitHub API, so the elevated context is not exposed to untrusted input. The policy is documented in CONTRIBUTING.md and docs/contributing.md. Also drops the CONTRIBUTING.md edge-builds section, which described the `edge.yml` workflow removed in #691 and was the last reference to it, and fixes a stray character in the adjacent CI line.
4.0 KiB
Contributing
Floci is MIT licensed and welcomes contributions of all kinds.
Join us on Slack — the fastest way to reach maintainers for questions, design tradeoffs, or feedback on an approach before you build it.
Ways to Help
- Bug reports — open a GitHub issue with a minimal reproduction
- Missing API actions — open a feature request
- Pull requests — new service actions, bug fixes, documentation improvements
Development Setup
# Clone
git clone https://github.com/floci-io/floci.git
cd floci
# Run in dev mode (hot reload, port 4566)
mvn quarkus:dev
# Run all tests
mvn test
# Run a specific test
mvn test -Dtest=SsmIntegrationTest
mvn test -Dtest=SsmIntegrationTest#putParameter
Commit Message Format
This project uses Conventional Commits — required for semantic-release to generate the changelog and version bumps automatically.
The PR title is validated automatically by CI and must follow this format, since it becomes the squash-merge commit message that semantic-release reads.
Format
<type>[optional scope]: <description>
| Type | Effect |
|---|---|
feat |
New feature → minor version bump |
fix |
Bug fix → patch version bump |
perf |
Performance improvement → patch |
revert |
Reverts a previous commit → patch |
docs |
Documentation only → no version bump |
style |
Formatting, whitespace → no version bump |
chore |
Build/CI/housekeeping → no version bump |
refactor |
Code restructure → no version bump |
test |
Adding/updating tests → no version bump |
build |
Build system changes → no version bump |
ci |
CI workflow changes → no version bump |
feat!: or BREAKING CHANGE: |
Breaking change → major bump |
Valid examples ✅
feat(dynamodb): add PartiQL ExecuteStatement support
fix(s3): make us-east-1 bucket creation idempotent
chore: release 1.5.16
feat!: remove legacy v1 endpoint
ci: add conventional commits lint workflow
Invalid examples ❌
Add PartiQL support # missing type
Feature: add something # not a valid type
feat : space before colon # space before colon
FIX(s3): uppercase type # type must be lowercase
feat(my scope): spaces in scope # scope cannot contain spaces
wip: still working on this # not a recognised type
Adding a New AWS Service
See AGENTS.md for the full architecture guide. AGENTS.md is the canonical agent instructions file for this repository, following the AGENTS.md standard. If your coding agent expects a different filename, create a local symlink to AGENTS.md instead of copying it.
ln -s AGENTS.md CLAUDE.md
ln -s AGENTS.md GEMINI.md
ln -s AGENTS.md COPILOT.md
Quick summary:
- Create
src/main/java/.../services/<service>/with a Controller, Service, andmodel/package - Pick the right protocol (see the protocol table in
AGENTS.md) - Register the service in
ServiceRegistry - Add config in
EmulatorConfig.javaandapplication.yml - Add
*IntegrationTest.javatests
Pull Request Checklist
mvn testpasses- New or updated integration test added
- Commit messages follow Conventional Commits
Please keep at most 5 open PRs at a time — a bot leaves an advisory note (label over-pr-limit) on PRs opened beyond that. See CONTRIBUTING.md for details.
Reporting Security Issues
Do not open public issues for security vulnerabilities. Use GitHub private vulnerability reporting instead.