* 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.
* ci: fail pull requests whose commits carry AI attribution trailers
CONTRIBUTING.md and AGENTS.md both say not to include Co-Authored-By
trailers for AI tools, but nothing enforced it, so the rule was only ever
caught by a human reading the commit list. Three commits reached main
carrying one: 9bb1db3a (Claude), 3cc04994 (Copilot Autofix, twice) and
1e59f8dc (Devin AI).
New CloudFormation types belong in services/cloudformation/provisioners/, not in the
CloudFormationResourceProvisioner monolith, but nothing outside a gitignored design
doc said so: CONTRIBUTING.md, AGENTS.md, docs/ and the PR template were all silent,
so contributors read the monolith and copied a case.
Adds a step-by-step section to CONTRIBUTING.md and AGENTS.md covering the three
traps behind the recurring review findings: Ref and Fn::GetAtt are separate
mechanisms and a missed attribute resolves to the literal LogicalId.Attr; provision
is also the update path, so creating unconditionally throws AlreadyExists or orphans
the old resource; and an unmapped type is stubbed as CREATE_COMPLETE, so status-only
assertions cannot detect a type that was never wired.
Also refreshes the resource-type table, which had drifted: EC2 gains LaunchTemplate
and VPCGatewayAttachment, EventBridge gains EventBus and EventBusPolicy and its
Events::Rule naming is normalized.
* chore(release): make CHANGELOG.md automation-owned
Per ecosystem decision 0008:
- remove the hand-maintained [Unreleased] section (its entries are all
represented by Conventional Commits since the last tag and appear in the
next generated release section) and the stale [Unreleased] link reference
- new preamble stating the file is generated by semantic-release — a
contributor's Conventional Commit message IS the changelog entry; historic
Keep a Changelog sections remain below
- set changelogTitle in .releaserc.json so semantic-release inserts new
release sections BELOW the preamble instead of prepending above the file
title (observed live in the first automated release)
- new changelog-guard workflow: PRs touching CHANGELOG.md fail unless they
carry the changelog-edit override label
- CONTRIBUTING: replace the retired release/x.y.x recipe with the Release
Cut flow and the do-not-edit rule
* docs(contributing): finish retiring release-branch guidance
Review follow-up: the Release awareness / Branching Model sections still
described release/x.y.x branches as the stable lines, contradicting the
main-only Release Cut flow this PR documents. Releases are cut from main;
the release-branch row/claim is removed (reintroducible if maintenance
lines ever return).
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.
* feat(docs): generate Supported Actions tables from handler source
The "Supported Actions" tables in docs/services/*.md were hand-maintained and
drifted from the handlers. For example secrets-manager.md omitted RestoreSecret,
which SecretsManagerJsonHandler dispatches, and acm.md listed RenewCertificate,
which is not implemented anywhere in src/.
Derive the action list from handler source so it cannot drift, while keeping the
hand-written Description column:
- tools/docs/regen_action_docs.py extracts actions from `case "X" ->` switch arms
(including multi-label arms) and JAX-RS REST controllers, and rewrites only the
rows between the <!-- floci:actions --> markers. Descriptions are preserved by
action name; new actions get a "-" placeholder. PascalCase-only matching avoids
picking up SCREAMING_CASE labels from non-action switches.
- tools/docs/services.yaml registers 18 single-table switch services and lists the
remaining switch handlers under deferred_handlers, so the new-service sentinel
fires only on a genuinely unregistered handler.
- make docs-sync / docs-check / docs-test, plus a Python-only CI workflow that
gates on handler, doc, and tooling changes.
- Migrate 18 service docs into marker blocks, reconciling real drift (adds
RestoreSecret, ImportCertificate, and others; drops the unimplemented
RenewCertificate).
Revives the parser and CI gate from #738 by @ericbsantana and completes the
description-preservation its spec described. REST-mode, mixed-mode, multi-table,
non-tabular, S3, and ecr docs are deferred and tracked in deferred_handlers.
* docs: drop standalone design spec from action-docs tooling
Remove ideas/auto-generated-action-tables.spec.md and the four references
to it (CONTRIBUTING.md, Makefile, regen_action_docs.py docstring,
services.yaml). It was a planning artifact; the operational docs live in
CONTRIBUTING.md and the tooling is self-documenting. The #738 / @ericbsantana
credit is preserved in the PR description.
* chore: address review on action-docs tooling
- pin actions/checkout to v7.0.0 in docs-actions workflow to match the
repo-wide bump (#1690), so dependabot does not immediately flag the new file
- document in the generator docstring that a switch case label counts as
supported purely by existing, so a per-action UnsupportedOperation stub
would be a false positive (handlers here reject from the default arm)
* docs: regenerate action tables against current handler source
Resync the generated Supported Actions tables to handler source after
rebasing onto the latest main:
- cloudformation: add DescribeStackInstance and DescribeStackSetOperation
now emitted by the handler, and keep the implemented StackSet descriptions
- cloudtrail: add LookupEvents
- firehose: add UpdateDestination
- step-functions: add PublishStateMachineVersion, ListStateMachineVersions,
DeleteStateMachineVersion
- register the cloudcontrol handler in deferred_handlers so the strict
unregistered-handler gate passes (no standalone action table yet)
* fix(docs): prevent action-table generator from silently dropping actions
Address the latest review pass on the action-docs tooling:
- switch extraction now captures case arms whose labels wrap across lines
(valid Java 14+ syntax). The capture group excludes only `{ } ;` boundaries,
so it spans newlines between labels but stops at the arm's `->`. A wrapped
arm was previously missed, and docs-check would stay green because the doc
and the generated output agreed on the omission, defeating the whole
drift-prevention guarantee.
- REST extraction skips Javadoc / inline comments between a verb annotation
and the method signature; such a line otherwise reset the lookahead and
dropped the action.
- parse_marker_block raises a descriptive error when a marker is not on its
own line, instead of a bare "substring not found".
- doc, source, and registry reads/writes are pinned to UTF-8 so generation is
locale-independent (the docs contain non-ASCII text).
- the docs-actions push trigger watches Makefile and the workflow file,
matching its pull_request trigger.
Adds regression tests for the multi-line arm and comment-skip paths (20 total).
* docs: update Docker image references to floci/floci
* docs: keep README Docker Hub badges pointing to hectorvent/floci
The hectorvent/floci image has accumulated pull and size metrics; switch
the badges to floci/floci once the new image has comparable numbers.
Replace scattered service-keyed switch statements in ServiceRegistry,
ServiceEnabledFilter, StorageFactory, and the Aws{Query,Json,Json11,JsonCbor}
controllers with a single immutable ServiceDescriptor catalog. EmulatorConfig
is snapshotted once at @Startup into ResolvedServiceCatalog, which exposes
O(1) lookups by external key, storage key, target prefix, credential scope,
resource class, and CBOR SDK service id. Adding a service now requires one
descriptor entry plus handler wiring instead of touching six to eight
unrelated switches.
Deliberate behavior fixes bundled with the refactor:
- ec2/ecs were present in getServices() but missing from getEnabledServices();
both now iterate allStatusDescriptors() so they cannot drift again.
- ServiceEnabledFilter did not recognize CertificateManager. or
AmazonEC2ContainerServiceV20141113. target prefixes, so disabling acm or
ecs in config had no effect on targeted requests. Both are now gated.
- The disabled-service response format was chosen by header sniffing
(Accept/Content-Type). Auth-only REST GETs to Lambda and OpenSearch
received XML when the SDK expected JSON. The filter now resolves the
protocol from the descriptor's defaultProtocol.
- floci.storage.services.acm.{mode,flushIntervalMs} was wired in
EmulatorConfig but never read by StorageFactory. It now takes effect.
The default-true fallback in isServiceEnabled for unknown service names is
preserved and pinned by a test, since non-inventoried AWS calls rely on it.
SqsQueueUrlRouterFilter remains imperative (its SQS identity is load-bearing
for queue-URL POST routing). AwsNamespaces and per-controller target-prefix
constant cleanup are deferred to a follow-up.
New integration tests cover the regression floor: Query XML, JSON 1.0,
JSON 1.1, CBOR (target-prefix and smithy-path), and REST disabled responses;
default-true fallback; ec2/ecs status parity; iam/sts shared enablement;
sesv2 credential scope alias; and the ACM storage override.
CHANGELOG.md was empty for the 1.1.0-1.5.2 release cycle and service docs
had drifted from code behaviour. This sweep reconciles docs against the
current codebase on upstream/main.
- Backfill CHANGELOG.md for 1.1.0 through 1.5.2 from git history
- Correct exact operation counts in docs/services/index.md: S3 (~30 -> 58),
Lambda (~25 -> 30), API Gateway v1 (~24 -> 62). Counts now come from the
actual dispatch handlers rather than @Path annotation counts.
- Rewrite README "Supported Services" table to drop per-service op counts
(they drift too fast); point readers at docs/services/index.md
- Update 24 service docs for accuracy, add "Not Implemented" sections
where relevant (s3.md, lambda.md, api-gateway.md)
- Refresh configuration and getting-started docs
- Add EventBridge Scheduler and AppConfig to mkdocs nav
- Add AppConfig / AppConfigData rows to README and services index
following the 1.5.2 upstream release
* test: move compatibility tests into this repo
* fix: add StatisticValues parsing to CloudWatchMetricsJsonHandler
* fix: add missing required abstract methods to EmulatorConfig in EventBridgeSchedulerIntegrationTest
* test: add sdk tests for multipart S3 copy coverage
* fix: cover and fix smithy cbor and multipart s3 copy regressions
* test: migrate more test coverage to new folder
* test: add missing ec2 expectation in healthcheck test
* docs: update READMEs in `./compatibility-tests`