Skip to content

refactor: rename to cf-workers-native and add Android release CI - #65

Merged
rdlabo merged 3 commits into
mainfrom
chore/android-central-publication
Oct 22, 2026
Merged

rdlabo merged 3 commits into
mainfrom
chore/android-central-publication

Conversation

@rdlabo

@rdlabo rdlabo commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Rename the distribution to cf-workers-native and automate Android SDK publication to Maven Central. The npm imports are cf-workers-native/ios, /android and /capacitor; the SwiftPM package/product is CfWorkersNative; the Maven coordinate is io.github.rdlabo:cf-workers-native-android. Update package consumers, examples, tests, release guards and repository URLs together. Existing runtime factory names remain unchanged.

Add a manually dispatched Android release workflow that signs and publishes the exact package version from main after its Compatibility CI succeeds. It refuses existing Maven coordinates, saves the signed bundle and deployment ID, waits for publication and distribution, and builds an independent Maven consumer before and after publication. Failed uploads are not retried automatically. The existing acceptance driver gains --central to verify a released SDK without a local Maven repository.

Validation on the renamed package:

  • Library build/typecheck and 616 tests passed.
  • Packed npm consumer: Vite/esbuild/browser ESM 10/10; Node/CommonJS 4/4; Vite dev Fetch 2/2; direct 26/26, isolated 22/22 and 966 shared feature checks passed.
  • Renamed Maven bundle: all five signatures/checksums passed; standalone Android consumer build passed.
  • SwiftPM manifest, demo build, release helper tests, actionlint and repository formatting passed.

The previous io.github.rdlabo:workers-native-android:0.1.2 was published and passed Android emulator acceptance before the rename. The npm package name was initialized by the maintainer at 0.0.0-stage; the new Maven coordinate has not been published; docs identify the pending release and source-build path. No package was unpublished or deprecated, and no Cloudflare deployment configuration changed.

Activation: the maven-central GitHub environment exists and is restricted to main. Its four secrets remain unset: MAVEN_SIGNING_KEY, MAVEN_SIGNING_PASSWORD, CENTRAL_USERNAME, CENTRAL_PASSWORD. npm Trusted Publisher is configured for rdlabo-dev/cf-workers-native and release.yml, pending validation by the first automated beta publication. The new workflow has not performed a live release and does not run for npm beta builds.

CI compatibility fix: recognize both region and plain module boundary comments emitted by Vite for Void. Unit boundary coverage and Vite/esbuild acceptance pass with Vite 8.3.5; routing and server dependency checks remain intact.

@rdlabo rdlabo changed the title ci: publish Android SDK to Maven Central refactor: rename to cf-workers-native and add Android release CI Oct 22, 2026
@rdlabo
rdlabo merged commit e5092d3 into main Oct 22, 2026
29 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant