Commit Graph
55 Commits
Author SHA1 Message Date
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 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
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
Hector Ventura 494cff2e14 chore: release 1.5.2 2026-04-10 02:36:30 -05:00
Hector Ventura 2ddaeb7b16 chore: exclude rust compatibility from action matrix 2026-04-09 18:50:31 -05:00
Hector Ventura ddccbe067a fix: append march x86-64-v2 (#303) 2026-04-08 23:26:38 -05:00
Conor Heine eeefb729c4 test: move compatibility tests into this repo (#225)
* 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`
2026-04-06 09:35:53 -05:00
Jeffen a4af506c15 fix(Cognito): OAuth/OIDC parity for RS256/JWKS, /oauth2/token, and OAuth app-client settings (#97)
* feat: add Cognito OAuth and resource server support

* chore: set FLOCI_BASE_URL for compatibility tests
2026-03-31 18:47:38 -05:00
Hector Ventura aba95933cf fix: adding aws-cli in its own floci image hectorvent/floci:x.y.z-aws (#151) 2026-03-31 18:30:29 -05:00
Kurt McAlpineandHector Ventura 1377868094 fix: resolve compatibility test failures across multiple services (#109)
- Bind Lambda RuntimeApiServer to IPv4 (0.0.0.0) and increase max body
  size to 256M
- Fix PortAllocator to wrap around using modular arithmetic
- Add Content-Type header to AwsExceptionMapper JSON error responses
- Merge multi-line x-amz-object-attributes headers in S3 GetObject
- Wrap SNS query handler methods with proper AwsException error handling
- Add Docker group, VHost DNS, and FLOCI_HOSTNAME to CI compatibility
  workflow

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
Co-authored-by: Hector Ventura <hectorvent@gmail.com>
2026-03-29 00:57:18 -05:00
Cristian de la Hoz 54523ca7bc ci: scope workflow triggers to relevant file changes (#106) 2026-03-28 17:03:45 -05:00
Kurt McAlpine 474e0eb644 ci: add compatibility tests workflow and fix JVM Dockerfile permissions (#100)
Huge thanks to @kurtmc for this PR! 

Adding the floci-compatibility-tests suite to our CI is a massive step forward for the project's stability. I especially appreciate you catching the Dockerfile permission bug—fixing the chown order is a great catch. This definitely makes floci more future-proof and helps us catch regressions early. 

There are a couple of things we will need to fix, we can chat about it later, join [floci slack](https://join.slack.com/t/floci/shared_invite/zt-3tjn02s3q-A00kEjJ1cZxsg_imTfy6Cw) and let's talk

Merging now!
2026-03-27 15:50:43 -05:00
Cristian de la Hoz 2bf4d82822 docs: remove stale comments 2026-03-25 10:56:21 -04:00
Hector Ventura 5422a65335 chore: updating release strategy and actions 2026-03-25 01:03:45 -05:00
Juan Diego López 84db057653 chore: add pull request workflow for build and test (#37) 2026-03-24 10:54:09 -05:00
Hector Ventura 1fbb42eca8 chore: fix documentation issue 2026-03-18 12:09:22 -05:00
Hector Ventura f9608511b1 chore: fix documentation issue 2026-03-18 11:56:38 -05:00
Hector Ventura 3c7b1d4d04 chore: improve documentation 2026-03-17 19:00:34 -05:00
Juan Diego López 4c18934595 fix: update workflow to download artifact into target 2026-03-16 22:48:05 -04:00
Hector Ventura 1fe1f6b7d8 fix: rename github action 2026-03-16 21:12:33 -05:00
Juan Diego López 5ec7dd2894 Fix: Github Actions 2026-03-16 21:59:10 -04:00
Hector Ventura 102172f65d Merge branch 'develop' into feature/fix-native-compilation 2026-03-16 20:33:30 -05:00
Hector Ventura ae15f4c79c fix: adding build for development branch 2026-03-16 20:26:18 -05:00