Commit Graph
78 Commits
Author SHA1 Message Date
Hector Ventura cc6e96de69 chore(release): make CHANGELOG.md automation-owned (#2138)
* 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).
2026-08-05 23:32:37 -05:00
Hector Ventura 61011c0fa8 feat(release): one-button release cut from main and ECR Public versioned publishing (#2127)
* feat(release): one-button release cut from main and ECR Public versioned publishing

- New Release Cut workflow (workflow_dispatch, dry-run input): semantic-release
  bumps pom.xml, writes CHANGELOG.md, commits, tags, and creates the GitHub
  Release; the tag push fires release.yml unchanged. Requires a GH_TOKEN
  fine-grained PAT (contents:write) because tags pushed with the default
  GITHUB_TOKEN do not trigger workflows.
- .releaserc.json: release from main only (release/x.y.x retired for now)
- release.yml: push versioned + latest native and compat tags to ECR Public,
  mirroring nightly.yml (OIDC role, public.ecr.aws/floci/floci) — previously
  only nightlies reached ECR Public

* fix(release): serialize release cuts and pin the release toolchain

Address review findings on the Release Cut workflow:

- concurrency group so overlapping dispatches queue instead of racing to
  push the same version/tag (no cancel-in-progress: a mid-flight release
  is never killed)
- the semantic-release toolchain is now installed with npm ci
  --ignore-scripts from a committed manifest + lockfile
  (.github/release-tooling), so the job holding the contents:write PAT
  runs a reproducible, fully pinned dependency tree instead of resolving
  mutable version ranges at run time

* fix(release): commit the pinned lockfile, SHA-pin actions, document queue semantics

Replicates the review fixes that took the sibling OCI PR to a clean review:

- the repo-wide package-lock.json ignore silently excluded the release
  toolchain's lockfile, so npm ci would fail on every dispatch; add a scoped
  gitignore exception and commit the lockfile
- pin checkout/setup-java/setup-node to full commit SHAs — this workflow
  holds the contents:write GH_TOKEN PAT, so a repointed action tag must not
  be able to change the code it executes
- document the concurrency group's last-dispatch-wins semantics (GitHub
  keeps one pending run per group; a superseded duplicate release cut is
  redundant by definition)

* fix(release): pin the ECR publishing actions to full commit SHAs

The OIDC-enabled job that assumes the public-image publishing role must not
execute code selected by a repointable tag: configure-aws-credentials and
amazon-ecr-login are now pinned to full commit SHAs (tags noted in comments),
matching the SHA-pinned docker actions already in this workflow.
2026-08-05 22:53:20 -05:00
Jason van Zyl 42d94c62ee ci: add reusable JVM and native image publishing (#1936)
* ci: add reusable image publishing

Provide a workflow_call contract that builds native amd64 and arm64 artifacts and publishes native and compat multi-architecture images for an exact caller-selected source revision. Keep registry authority in the caller and return immutable digest references plus provenance for downstream tests.

* fix(docker): use glibc in JVM development image

Use an Ubuntu-based Java 25 runtime so the JVM image can host glibc-linked integrations while preserving the existing entrypoint, tooling, and architecture behavior.

* ci: publish JVM images by default

* fix(ci): harden reusable image builds

* docs(ci): clarify image registry input

* fix(docker): locate the installed AWS CLI

* fix(ci): tag images by build time and revision
2026-08-05 17:06:07 -05:00
dependabot[bot] 9bbe9ffeb9 chore(deps): bump actions/setup-python from 6 to 7 (#2081)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-01 21:04:59 -05:00
dependabot[bot] 0af0ec7c26 chore(deps): bump the actions-minor-patch group with 7 updates (#2080)
Bumps the actions-minor-patch group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `7.0.0` | `7.0.1` |
| [actions/setup-java](https://github.com/actions/setup-java) | `5` | `5.6.0` |
| [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) | `1.5.6` | `1.6.3` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.1.0` | `4.2.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `7.2.0` | `7.3.0` |
| [docker/login-action](https://github.com/docker/login-action) | `4.2.0` | `4.5.1` |
| [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `6.2.0` | `6.2.3` |


Updates `actions/checkout` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v7.0.0...v7.0.1)

Updates `actions/setup-java` from 5 to 5.6.0
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v5...v5.6.0)

Updates `graalvm/setup-graalvm` from 1.5.6 to 1.6.3
- [Release notes](https://github.com/graalvm/setup-graalvm/releases)
- [Commits](https://github.com/graalvm/setup-graalvm/compare/6f3fa030c4b8f77c1f554a860f593a654538fa38...0def53c0fd8534bc13416c9469f5be45265824fd)

Updates `docker/setup-buildx-action` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5...bb05f3f5519dd87d3ba754cc423b652a5edd6d2c)

Updates `docker/build-push-action` from 7.2.0 to 7.3.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/f9f3042f7e2789586610d6e8b85c8f03e5195baf...53b7df96c91f9c12dcc8a07bcb9ccacbed38856a)

Updates `docker/login-action` from 4.2.0 to 4.5.1
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/650006c6eb7dba73a995cc03b0b2d7f5ca915bee...abd2ef45e78c5afb21d64d4ca52ee8550d9572c7)

Updates `aws-actions/configure-aws-credentials` from 6.2.0 to 6.2.3
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v6.2.0...v6.2.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor-patch
- dependency-name: actions/setup-java
  dependency-version: 5.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: graalvm/setup-graalvm
  dependency-version: 1.6.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: docker/build-push-action
  dependency-version: 7.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: docker/login-action
  dependency-version: 4.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 6.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-01 21:04:15 -05:00
Liam MacPherson 9e90e5cff3 perf(docker): stop duplicating the native binary into a second image layer (#2069)
Both native Dockerfiles wrote the ~196 MB binary into the image twice. A RUN that
renames or chmods a large file rewrites the whole file into a new layer, so the
published image carried two copies of it:

    110 MB   ubi9-minimal base
    18.8 MB  microdnf install
    196 MB   COPY --chown=1001:root native/<arch>/ /app/
    196 MB   RUN mv /app/*-runner /app/application && chmod +x /app/application

Set the mode in the COPY itself and move the rename out of the image and into the
build pipeline, which now stages the binary as native/<arch>/application.
Dockerfile.native does the same with a single COPY --chmod=755 --from=build.

Measured on linux/arm64 against floci/floci:1.5.34, with a 196 MB binary on both
sides so the comparison is like for like:

    uncompressed   521 MB -> 325 MB
    compressed     168 MB -> 104 MB   (sum of gzip -6 layer blobs; Docker Hub
                                       reports 166.1 MB for 1.5.34)
    layers           8    -> 6

No behaviour change. The only filesystem difference in the resulting image is
quarkus-artifact.properties, now 0755 rather than 0644, because --chmod applies to
every file in the staged directory. /app and /app/data keep 0775 and uid 1001:0 for
arbitrary-uid (OpenShift) runs, and /app/application keeps 0755 — docker/entrypoint.sh
gates its default command on [ -x /app/application ].
2026-07-31 22:02:59 -05:00
Hector Ventura 00d59b4963 chore: add an advisory open-PR limit notice (#2047)
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.
2026-07-29 23:48:39 -05:00
Kobi Hikri 83fcd12f1c ci: attach provenance and SBOM attestations to the published images (#2032)
* ci: attach provenance and SBOM attestations to the published images

* ci: restore trailing newline at end of file
2026-07-28 18:43:55 -05:00
Hector Ventura 2bea2c0aec ci: use the snake_case input names first-interaction v3 expects (#1981)
The step passed repo-token, issue-message and pr-message, which are the v1
names. v3 renamed them to repo_token, issue_message and pr_message, so GitHub
dropped all three as unknown inputs and the action failed on the first required
lookup:

  Unexpected input(s) 'repo-token', 'issue-message', 'pr-message',
    valid inputs are ['issue_message', 'pr_message', 'repo_token']
  Error: Input required and not supplied: issue_message

repo_token looked supplied in the logs only because the action declares it with
default: ${{ github.token }}; the two messages have no default.

Every run since the workflow merged has failed, so first-time contributors got a
red check on their first PR and no welcome comment, which is the opposite of
what the workflow is for.

pull_request_target runs the base branch's copy of a workflow, so this cannot be
exercised from a PR — the next first-time contribution after merge is the check.
2026-07-27 08:02:40 -05:00
Hector Ventura f36598244d chore: welcome first-time contributors and surface the Slack invite (#1968)
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.
2026-07-26 17:04:57 -05:00
TiM 7d70f64162 feat(docs): generate Supported Actions tables from handler source (#1641)
* 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).
2026-07-06 21:02:04 -05:00
Hector Ventura ac96a7d292 docs: adding sponsor section (#1724) 2026-07-03 23:15:31 -05:00
Martin Costello a8d25525d7 chore(ci): skip nightly workflow on forks (#1627)
Do not run the nightly workflow on a schedule from forks.
2026-07-03 00:51:06 -05:00
Martin Costello 82b4574af0 chore(ci): use time zone for schedule (#1628)
Specify a time zone for consistent year-round scheduling.
2026-07-02 18:44:42 -05:00
Hector Ventura b87955b630 chore(deps): update maven dependencies and github actions (#1690)
Combines the open dependabot updates with the vulnerable-dependency pins:

- quarkus platform 3.36.0 -> 3.36.3, apicurio 2.6.9.Final -> 2.6.13.Final
- graphql-java 22.0 -> 26.0, neo4j-java-driver 5.28.5 -> 6.1.0 (test)
- import jackson-bom 2.21.4 and pin wire-runtime 6.3.0
- compat tests: aws sdk 2.44.14, netty-bom 4.1.135.Final, postgresql 42.7.11,
  jackson-bom 2.18.8, kafka-clients 3.9.2, commons-lang3 3.18.0
- actions/checkout v7.0.0, configure-aws-credentials v6.2.0, setup-graalvm pin
2026-07-01 23:27:56 -05:00
nblomquistandnathan 326b495496 feat(iot) Feature/issue 1038 iot core (#1359)
* feat: add IoT endpoint and thing registry

* feat: add IoT thing tagging

* feat: add IoT certificates and shadows

* feat: add IoT MQTT broker

* feat: upgrade IoT MQTT broker to Moquette 0.18

* feat: restore IoT reserved MQTT topics

* feat: add IoT topic rules engine

* feat: improve IoT thing registry compatibility

* feat: complete IoT MVP 1 compatibility

* feat: complete IoT MVP 2 compatibility

* feat: finish IoT MVP 2 coverage

* fix: disable IoT MQTT broker persistence

* fix(docker): include vendored Maven artifacts in source builds

* fix(iot): stabilize MQTT integration test sockets

* fix(iot): verify MQTT test connections

* fix(iot): use Paho for MQTT integration tests

* fix(iot): use Vert.x MQTT broker

---------

Co-authored-by: nathan <nathan@debian-dev-small.localdomain>
2026-06-25 22:58:44 -05:00
Hector Ventura b9da266b16 ci: build native compat image on runner and run full matrix against it (#1578)
Replace the in-container GraalVM build (docker/Dockerfile.native) with a
runner build via graalvm/setup-graalvm + Maven cache, using the -Ob quick
build (appended so application.yml native args are preserved). The prebuilt
binary is packaged through docker/Dockerfile.native-package, matching the
nightly/release pipeline. Both jobs run on ubuntu-24.04-arm.

Drop the JVM build/compat-test jobs and run the full 8-test matrix against
the native image (porting the compat-cdk Docker-socket case). Remove the now
orphaned docker/Dockerfile.jvm-package.
2026-06-25 19:09:11 -05:00
David Phillips 01b38bb4bb ci: run focused native compatibility tests (#1375)
* fix: register Glue catalog payloads for native image

* fix: include AppSync parser resources in native image

* fix: include API Gateway VTL native metadata

* ci: run focused native compatibility tests
2026-06-16 18:54:22 -05:00
dependabot[bot] 357a64243b chore(deps): bump the actions-minor-patch group with 5 updates (#1157)
Bumps the actions-minor-patch group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.0.0` | `4.1.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `7.1.0` | `7.2.0` |
| [test-summary/action](https://github.com/test-summary/action) | `2.4` | `2.6` |
| [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) | `1.5.2` | `1.5.3` |
| [docker/login-action](https://github.com/docker/login-action) | `4.1.0` | `4.2.0` |


Updates `docker/setup-buildx-action` from 4.0.0 to 4.1.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd...d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5)

Updates `docker/build-push-action` from 7.1.0 to 7.2.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/bcafcacb16a39f128d818304e6c9c0c18556b85f...f9f3042f7e2789586610d6e8b85c8f03e5195baf)

Updates `test-summary/action` from 2.4 to 2.6
- [Release notes](https://github.com/test-summary/action/releases)
- [Commits](https://github.com/test-summary/action/compare/31493c76ec9e7aa675f1585d3ed6f1da69269a86...37b508cfee6d4d080eedd00b5bb240a6a784a6a5)

Updates `graalvm/setup-graalvm` from 1.5.2 to 1.5.3
- [Release notes](https://github.com/graalvm/setup-graalvm/releases)
- [Commits](https://github.com/graalvm/setup-graalvm/compare/60c26726de13f8b90771df4bc1641a52a3159994...bef4b0e916c7dd079bf60fb95d49139f67e32c5f)

Updates `docker/login-action` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/4907a6ddec9925e35a0a9e82d7399ccc52663121...650006c6eb7dba73a995cc03b0b2d7f5ca915bee)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: docker/build-push-action
  dependency-version: 7.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: test-summary/action
  dependency-version: '2.6'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
- dependency-name: graalvm/setup-graalvm
  dependency-version: 1.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions-minor-patch
- dependency-name: docker/login-action
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor-patch
...
2026-06-04 00:57:56 -05:00
dependabot[bot] 9eceb83397 chore(deps): bump aws-actions/configure-aws-credentials from 4 to 6.1.2 (#1158)
Bumps [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) from 4 to 6.1.2.
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/v4...v6.1.2)

---
updated-dependencies:
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 6.1.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...
2026-06-04 00:57:23 -05:00
dependabot[bot] dad7292b94 chore(deps): bump actions/checkout from 4 to 6.0.2 (#1159)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...
2026-06-04 00:56:55 -05:00
Hector Ventura 3387d29346 fix: move all built to graalvm 25 (#1107) 2026-05-31 10:23:13 -05:00
Hector Ventura bd5ba4a224 chore: release 1.5.19 2026-05-24 16:59:58 -05:00
Hector Ventura bf093ce0f4 fix: init shows wrong status when tls is enabled and adding app config (#1006)
* fix(lifecycle,appconfig): TLS startup readiness and listHostedConfigurationVersions

Fixes two independent issues:
is enabled, Quarkus binds the HTTP backend on port 4510 and the HttpServerStart
event fires with that port, so markStartCompleted/markReadyCompleted were never
called and /_floci/init always returned ready=false. Fix: derive the expected
port from config.tls().enabled() at observer time.

/applications/{appId}/configurationprofiles/{profileId}/hostedconfigurationversions.
Unmatched requests fell through to S3Controller's catch-all and returned a
NoSuchBucket XML error. Fix: add HostedConfigurationVersionSummary model,
listHostedConfigurationVersions service method, and the missing GET route.

* fix(commit-checks): fix action that check commit format
2026-05-23 15:31:42 -05:00
Hector Ventura 11531f5ab2 feat(ci): publish Docker images to ECR Public Gallery (#1000)
Add ECR Public Gallery (public.ecr.aws/floci/floci) as a second push
target alongside Docker Hub in both the release and nightly workflows.

Uses GitHub OIDC (id-token: write) with the org-level AWS_ROLE_ARN
secret and aws-actions/configure-aws-credentials to assume the ECR
push role. ECR Public requires us-east-1 regardless of the primary
deployment region.

Tags mirrored on each release: {version}, latest, {version}-compat,
latest-compat.
Tags mirrored on each nightly: nightly, nightly-{mmddyyyy},
nightly-compat, nightly-{mmddyyyy}-compat.
2026-05-22 17:21:13 -05:00
Hector Ventura fd660e03ed fix(ec2): add missing instance response fields to fix Terraform nil pointer dereference (#871) (#883)
* fix(ec2): add missing instance response fields to fix Terraform nil pointer dereference (#871)

The ENI <attachment> block was absent from Floci's RunInstances and
DescribeInstances XML responses. Terraform provider AWS v5.x iterates
network interfaces and reads iface.Attachment.DeviceIndex without nil-checking
Attachment, causing a panic in resourceInstanceRead.

Additional fields required by the provider were also missing: cpuOptions,
metadataOptions, maintenanceOptions, enclaveOptions, hibernationOptions,
privateDnsNameOptions, capacityReservationSpecification, stateReason,
and blockDeviceMapping.

- Add attachmentId and deviceIndex to InstanceNetworkInterface model
- Populate both fields at ENI creation time in Ec2Service.runInstances
- Emit <attachment> and <privateIpAddressesSet> inside each ENI item in instanceXml()
- Emit all missing instance-level fields in instanceXml()
- Add Ec2InstanceResponseShapeTest compatibility test (16 assertions)
* fix(ec2): fix ec2 unit tests
2026-05-18 22:55:22 -05:00
Hector Ventura ffe7d6ddc9 feat(ci): enable reproducible container builds via SOURCE_DATE_EPOCH (#884) 2026-05-17 15:07:40 -05:00
Hector Ventura 0123844d83 chore(docker): add OCI image metadata labels (#872)
* chore(docker): add OCI image metadata labels

Add OCI image spec labels to Dockerfile.native-package, Dockerfile.jvm-package,
and Dockerfile.compat so published images carry standard metadata.

Static labels (title, description, url, source, licenses, vendor) are baked into
the Dockerfiles and are present in every build including local ones. Dynamic labels
(version, revision, created) are injected at publish time via the labels: input of
build-push-action in release.yml and nightly.yml.

Closes #851

* chore: setting not opencontainers labels
2026-05-17 00:25:24 -05:00
Hector Ventura a1d3c82dfa chore: conventionalcommits enforment (#869) 2026-05-16 14:23:09 -05:00
Hector Ventura c8c77c9e6e feat(s3): virtual-hosted style addressing support (#805)
*.s3.localhost.floci.io, *.localhost.localstack.cloud, and
  *.s3.localhost.localstack.cloud as virtual-hosted style regardless of
  FLOCI_HOSTNAME — fixes 405 when SDK uses endpointOverride("http://localhost:4566")
  without forcePathStyle (closes #801)
- EmbeddedDnsServer ships localhost.localstack.cloud and localhost.floci.io
  as built-in suffixes so spawned containers resolve these domains to Floci's
  IP without extra config
- Compatibility test S3VirtualHostStyleTest covers the full virtual-host path
  end-to-end; TestFixtures.s3VirtualHostClient() prefers s3.localhost.floci.io,
  falls back to s3.localhost.localstack.cloud, or uses FLOCI_S3_VHOST_ENDPOINT
  in Docker
- run-docker-tests.sh and compatibility.yml inject --dns <floci-ip> and
  FLOCI_S3_VHOST_ENDPOINT=http://floci:4566 into test containers
- S3 and migrate-from-localstack docs updated with virtual-hosted style details
2026-05-11 23:53:28 -05:00
5befe8b619 feat: optional TLS/HTTPS support with self-signed certificate generation (#754)
* feat: optional TLS/HTTPS support with self-signed certificate generation

- Add TlsConfigSource (MicroProfile ConfigSource SPI) that injects Quarkus
  TLS properties before the HTTP server starts
- Auto-generate self-signed certificates with correct SANs including custom
  hostnames from FLOCI_HOSTNAME and FLOCI_BASE_URL
- Persist certificate metadata for change detection across restarts
- Fix CertificateGenerator to encode IP addresses as iPAddress SANs (RFC 5280)
- Serve HTTP + HTTPS simultaneously (LocalStack parity)
- Support user-provided certificates via FLOCI_TLS_CERT_PATH/KEY_PATH
- Add TLS configuration documentation
- Add Node.js SDK compatibility test for HTTPS connectivity
- Add comprehensive unit and integration tests (79 test cases)

Closes #711

* feat(tls): add TLS proxy server and WebSocket-over-TLS tests

- Add TlsProxyServer: TCP proxy on port 4566 that detects TLS ClientHello
  and routes to HTTPS (4511) or HTTP (4510) backend accordingly
- Add apigatewayv2-websocket-tls.test.ts: WSS compatibility tests covering
  connect/disconnect, route selection, broadcast, authorization,
  @connections API, binary frames, and payload size limits
- Update CI workflow to enable FLOCI_TLS_ENABLED=true for compat tests
- Update sdk-test-node Dockerfile with NODE_TLS_REJECT_UNAUTHORIZED=0
- Update tls.test.ts for HTTPS SDK client tests
- Update README with WebSocket-over-TLS test documentation

* fix(tls): address review comments — LocalStack parity and floci.io SANs

- Add USE_SSL and CUSTOM_SSL_CERT_PATH mappings to localstack-parity.sh
- Add localhost.floci.io and *.localhost.floci.io to default certificate SANs
- Update affected tests and documentation

---------

Co-authored-by: Dixit R Jain <dixitrjain@Mac-379.lan>
Co-authored-by: Dixit R Jain <dixitrjain@Mac.lan>
2026-05-10 10:21:03 -05:00
Hector Ventura db9eedc4cd chore: fix dockerfile issue with argument parameter 2026-05-02 23:21:38 -05:00
Hector Ventura 3c98efe615 chore: new docker image tag and compatibility (#691)
* chore: new docker image tag and compatibility
* chore: change nightly workflow schedule time
2026-05-02 22:46:25 -05:00
Hector Ventura 05d89a0810 chore: adding cooldown in dependabot (#684) 2026-05-02 10:20:46 -05:00
Hector Ventura 404b42bdc0 feat(lambda): bind-mount hot-reload via S3Bucket=hot-reload (#601)
* feat(lambda): add bind-mount hot-reload mode via S3Bucket=hot-reload

Functions created with S3Bucket=hot-reload and S3Key=/absolute/path
have their host directory bind-mounted into /var/task rather than
packaged as a ZIP. Each invocation runs an ephemeral container so
file changes on disk are picked up immediately without calling
UpdateFunctionCode or re-uploading code.

Feature is disabled by default; opt in with:
  FLOCI_SERVICES_LAMBDA_HOT_RELOAD_ENABLED=true

An optional path allowlist (FLOCI_SERVICES_LAMBDA_HOT_RELOAD_ALLOWED_PATHS)
restricts which host directories may be bind-mounted.

* fix: missing hot reload enable env
2026-04-25 19:38:03 -05:00
Kenshin Okinaka 88f40a839b docs: update Docker image references to floci/floci (#595)
* 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.
2026-04-25 09:29:39 -05:00
Hector Ventura 015c515ec6 fix: docker built issue 2026-04-23 02:22:57 -05:00
Hector Ventura f669be1edb fix: release 1.5.6 (#569) 2026-04-23 02:06:25 -05:00
Hector Ventura c67216065f fix: optimize sdk-test-java Docker build to reduce CI time (#500)
* fix: optimize sdk-test-java Docker build to reduce CI time
* fix(compat): optimize sdk-test-java Docker build to reduce CI time
2026-04-17 11:49:18 -05:00
TiM 7d3bab5327 chore(deps): pin json-schema-validator below 2.0.0 (#388)
json-schema-validator 2.x has breaking API changes and 3.x requires
Jackson 3 (tools.jackson.*), incompatible with the Jackson 2
(com.fasterxml.jackson.*) used throughout the project.

Pin to 1.x to prevent Dependabot raising unmergeble bumps.

Ref: #381
2026-04-12 22:32:32 -05:00
dependabot[bot] c1db3cfb01 chore(deps): bump docker/setup-buildx-action from 3.12.0 to 4.0.0 (#385)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.12.0 to 4.0.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/8d2750c68a42422c14e847fe6c8ac0403b4cbd6f...4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:53:30 -05:00
dependabot[bot] ccdf3dc40c chore(deps): bump actions/checkout from 4 to 6 (#384)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:30:55 -05:00
dependabot[bot] 852ad35843 chore(deps): bump actions/setup-python from 5 to 6 (#379)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:30:24 -05:00
dependabot[bot] 1575328392 chore(deps): bump docker/build-push-action from 6.19.2 to 7.1.0 (#383)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.19.2 to 7.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/10e90e3645eae34f1e60eeb005ba3a3d33f178e8...bcafcacb16a39f128d818304e6c9c0c18556b85f)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:29:51 -05:00
dependabot[bot] 44307bc70f chore(deps): bump actions/download-artifact from 4 to 8 (#382)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:21:54 -05:00
dependabot[bot] 647481e00b chore(deps): bump docker/login-action from 3.7.0 to 4.1.0 (#378)
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.7.0 to 4.1.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/c94ce9fb468520275223c153574b00df6fe4bcc9...4907a6ddec9925e35a0a9e82d7399ccc52663121)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:10:13 -05:00
dependabot[bot] d880d202b1 chore(deps): bump actions/setup-java from 4 to 5 (#377)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4 to 5.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:09:28 -05:00
dependabot[bot] f33ef0f52c chore(deps): bump actions/upload-artifact from 4 to 7 (#376)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
2026-04-12 20:08:30 -05:00
TiM f3c9314114 chore(ci): CI hygiene batch (concurrency, timeouts, action pinning, Dependabot) (#375)
* chore(ci): CI hygiene batch (concurrency, timeouts, action pinning, Dependabot)

Rework of #350 with release-related changes removed per maintainer
feedback on #348 (semantic-release intentionally disabled while main
stabilizes).

What's included:
- Concurrency groups on all workflows (cancel superseded runs)
- timeout-minutes on all jobs (prevent stuck builds)
- SHA-pinned third-party actions (supply chain hardening)
- Dependabot config for Maven deps + GitHub Actions
- CODEOWNERS routing CI/release paths to @hectorvent
- SECURITY.md with private vulnerability reporting instructions

What's NOT included (intentionally):
- semver.yml changes (semantic-release on main)
- .releaserc.json changes (main branch addition)

* chore: switch Dependabot schedule from weekly to monthly
2026-04-12 19:56:28 -05:00
Conor Heine a0ed51e9d1 feat: ecr (#337) 2026-04-11 09:59:05 -05:00