Describe the new open-PR limits (floci-loft decision 0021) in CONTRIBUTING.md
and the PR template, and grant the caller contents: write, which the shared
workflow needs to convert a PR back to a draft.
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
Call the shared floci-io/.github pr-limit workflow on opened, reopened and
ready_for_review, and on closed and converted_to_draft to clear stale
labels. Runs for the same pull request queue rather than cancel, and manual runs use their own concurrency group. Contributors
keep at most 2 open, non-draft pull requests: the 3rd and 4th get the
over-pr-limit label and a reminder, and from 2026-10-08 the 5th and later
are closed automatically. Bots and maintainers are exempt.
This replaces the advisory bot that labelled authors with more than 5 open
pull requests: the limit is now 2, drafts no longer count, and the logic and
wording live in one shared workflow.
CONTRIBUTING.md and the pull request template describe the policy.
Signed-off-by: Hector Ventura <hectorvent@gmail.com>
* docs: standardize Java code style rules
AGENTS.md becomes the canonical Code Style source, regrouped into General,
Types and names, Imports, conventions the codebase already follows, and Tests.
Two new rules: write explicit types rather than var, and import classes rather
than writing fully-qualified names inline. Both are stated with the reason they
matter here, that the concrete type at a call site is usually what a wire
contract reviewer needs to see, and with the one exception each: record
deconstruction patterns for var, and genuine same-file name collisions for
qualified names.
The rest is existing practice written down so it stays true. Each claim was
measured against src/main and src/test: no printStackTrace, no logger field
named anything but LOG, no Calendar and no SimpleDateFormat. The System.out
rule exempts CLI entry points under tools/, which is its one real use. The
empty-catch rule now blesses naming the variable ignored or expected, the
convention the code already uses.
Two conventions are stated with the exceptions the tree actually contains
rather than as absolutes. java.util.Date survives where a third-party
signature forces it, in the BouncyCastle certificate builder and the JAX-RS
HttpHeaders.getDate() override, so the rule is java.time on Floci's side and
conversion at that boundary. Tab indentation is banned as such, since a JSON
text block may legitimately contain a tab as string content.
CONTRIBUTING.md and docs/contributing.md had no code style section at all, and
copilot-instructions.md had no code style content, so PR review could not flag
either new rule. The Copilot entry also lists the collisions it must not flag.
Existing code does not satisfy these everywhere. The rules are documentation
only: nothing in CI enforces them, and no Java file changes here.
* docs: correct the measured claims in the code style section
Review on #3451 caught that System.out is not confined to the tools CLI: four
test files print too. Checking the rest of the section the same way found five
more claims that do not survive a measurement, so this corrects all six rather
than only the reported one. The section's whole value is that a reader can trust
it without re-measuring.
System.out and System.err are now scoped to src/main, the way the wildcard
import rule already splits src/main from tests. The exception is named by its
real coordinates: AmiImageTool sits in the Java package
io.github.hectorvent.floci.tools.ami, not in the top-level tools/ directory,
which holds only tools/docs. printStackTrace stays absolute, since that one
holds: zero in src/main and src/test.
The Date rule listed two forced boundaries and there are three. BouncyCastle's
certificate builder and the JAX-RS HttpHeaders.getDate() override are joined by
JDBC's java.sql.Date, which extends java.util.Date and which the old wording
read as prohibiting, in RdsDataFieldMapper and RdsDataSqlParameters.
Optional is split, because half the claim was true. Never a field is exact,
there are none. Never a parameter was wrong: Quarkus threads
@ConfigProperty Optional<T> values through parameters in ResolvedServiceCatalog,
ContainerBuilder, DockerClientProducer and LaunchedContainerAwsEnv.
The three Tests rules each asserted something false. testX is not absent, it
names 291 methods across 52 files, so it is described as the older pattern not
to copy rather than as something that never happens. AssertJ is not absent
either, it is a declared test dependency used by the six Lambda launcher tests.
@DisplayName is genuinely rare in src/test, 13 files of 1455, but it is the norm
in compatibility-tests at 183 of 208, as is AssertJ at 197 of 208. That module
has the opposite idiom, so the Tests rules now say they describe src/test and
point a contributor at the module they are in.
Documentation only. No Java file changes here.
The getting-started and contributor docs had drifted from what the workflows and the
code actually do:
- quick-start and CONTRIBUTING pointed users at a `latest-jvm` image that the release
pipeline never publishes; both now name the `-compat` image, and `make docs-check`
greps the docs for any `-jvm` tag
- the CONTRIBUTING branching model now matches the workflows: `main` is published as
the nightly channel, a maintainer runs the Release Cut workflow to tag a release, and
the tag triggers the publish; PR builds produce compat images but never publish them
- README and the docs landing page carried a hand-maintained service count and a
second copy of the service table, both stale; they now link to the Services Overview
- the Service Matrix gains the ELB Classic row it was missing, with an `elb` alias so
the check no longer resolves the Classic key to the v2 page, and
check_service_matrix.py now also fails on a docs/services page that has no row
- the README category table lists 16 documented services it omitted
- mkdocs nav gains 11 service pages that were unreachable from the site, drops a
duplicate CloudTrail entry, and the docs job now runs `mkdocs build --strict` with nav
and link validation so a page without a nav entry fails CI
- AGENTS.md, CONTRIBUTING.md and docs/contributing.md told contributors to register a
service in ServiceRegistry, which has no registration API; all three now point at
ResolvedServiceCatalog and list the config, storage, native-image, docs, tooling and
compat-suite touchpoints a new service needs
* docs: state the release cadence in CONTRIBUTING and the docs site
Follow-up to the release-train documentation. CONTRIBUTING described how a
release is cut but never when, and the published contributing page said
nothing about releases at all, so the cadence was only discoverable from the
README.
- CONTRIBUTING: the 1st and 3rd Tuesday train leads the release section, and
merging to main is stated not to cut a release.
- docs/contributing.md: a Releases section, including why the commit type
matters, since semantic-release derives the version from it.
- docs/configuration/docker-images.md: the Channel table said release images
publish "on every release", which explained nothing; it now names the train.
Three corrections in the same table, all pre-existing:
- The nightly row said 22:00 CT. nightly.yml is cron '0 23 * * *' pinned to
America/Chicago, and observed runs land at 04:0x UTC, so it is 23:00 CT.
- Dated nightly tags were described as fixed and never moving. The workflow
accepts workflow_dispatch and pushes unconditionally, so a same-day rerun
republishes that day's tag. Reproducibility is a release-tag property.
- The pinned example was 1.5.11, six minor versions behind.
Em-dashes in the touched files replaced with ordinary punctuation, per the
documentation style rule in AGENTS.md.
* docs: correct three points raised in review
- Nightly availability was overstated. A merge after the nightly workflow
starts misses that run, so the text no longer promises "that night's"
image; it says the change reaches nightly on the next nightly build.
- The published contributing page called CHANGELOG.md never hand-edited,
omitting the changelog-edit label that the root CONTRIBUTING documents as
the route for a genuine correction.
- docker-images.md recommended 1.7.0 in the channel table while its Quick
Reference still pinned 1.5.11.
Each was fixed in all four emulators, not only where it was flagged.
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.
First-time contributors' pull requests sit with no CI at all until a maintainer
approves the workflow runs, and nothing on the PR explains the wait — recent
ones went 10 to 12 days before anyone noticed they had never been tested.
The Slack invite was reachable only from the bottom of the README (line 785 of
834). It appeared in neither CONTRIBUTING file, the pull request template, nor
either issue template, so contributors arriving through those paths never saw
it.
Add a first-interaction workflow that greets a contributor's first issue or
pull request; the pull request message leads with why the checks have not
started, so the gate reads as routine rather than as neglect. Surface the Slack
invite where contributors actually pass: the new-issue chooser via
contact_links, the pull request template, and both CONTRIBUTING files.
The workflow only posts a comment and never checks out or executes pull request
code, so its pull_request_target trigger does not expose the elevated context.
* docs: migrate docs GitHub references to floci-io
* docs: update MkDocs site and repo metadata to floci-io
* docs: update MkDocs site_url and repository references to floci-io