From 9415f8a70a8cb49dfd49ef3c025014897a167fb5 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Fri, 3 Jul 2026 18:14:11 +0530 Subject: [PATCH] Add chat_module_mix + chat_ui_mix (testnet-0.2 mix variants) (#19) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add chat_module_mix + chat_ui_mix (testnet-0.2 mix variants) Add the mix-enabled chat modules as submodules tracking the feat/logos-testnetv02-mix branch, alongside the stock master-tracked chat_module/chat_ui. They publish under distinct names (chat_module_mix, chat_ui_mix per metadata.json), so they don't collide with the non-mix releases. chat_ui_mix depends on chat_module_mix. - submodules/logos-chat-module-mix -> logos-co/logos-chat-module@e187825 - submodules/logos-chat-ui-mix -> logos-co/logos-chat-ui@fe86886 - generated per-module release workflows (workflow_dispatch only) * chore: bump chat_module_mix + chat_ui_mix to librln-linux-fixed tips chat_module_mix e187825 -> b31880d, chat_ui_mix fe86886 -> 89110b5 — pulls in the stateless librln hashes for linux + x86_64-darwin (via logos-chat c6a35bf), so the released modules build on Linux, not just darwin-arm64. * chore: bump chat_ui_mix to bc06582 (default shardId 0 — fleet receive fix) --- .../release-logos-chat-module-mix.yml | 35 +++++++++++++++++++ .../workflows/release-logos-chat-ui-mix.yml | 35 +++++++++++++++++++ .gitmodules | 8 +++++ README.md | 2 ++ submodules/logos-chat-module-mix | 1 + submodules/logos-chat-ui-mix | 1 + 6 files changed, 82 insertions(+) create mode 100644 .github/workflows/release-logos-chat-module-mix.yml create mode 100644 .github/workflows/release-logos-chat-ui-mix.yml create mode 160000 submodules/logos-chat-module-mix create mode 160000 submodules/logos-chat-ui-mix diff --git a/.github/workflows/release-logos-chat-module-mix.yml b/.github/workflows/release-logos-chat-module-mix.yml new file mode 100644 index 0000000..51d4107 --- /dev/null +++ b/.github/workflows/release-logos-chat-module-mix.yml @@ -0,0 +1,35 @@ +name: Release logos-chat-module-mix + +# Manually-triggered release for a single submodule. Delegates the +# build / verify / sign / publish pipeline to the local +# _release-module.yml reusable workflow so signing config lives in +# exactly one place. +# +# Source of truth for module name + version is +# submodules/logos-chat-module-mix/metadata.json — read by the upstream +# logos-modules-release-action. +# +# This file is generated by scripts/add-module.sh from +# release-module.yml.template. Don't hand-edit the boilerplate; if you +# need to change the pipeline, edit _release-module.yml (shared) or the +# template (affects future modules). + +on: + workflow_dispatch: + inputs: + force_build: + description: "Force build — replace the current published release if it has the same version." + type: boolean + default: false + +# Forked repos default to a read-only GITHUB_TOKEN. +permissions: + contents: write + +jobs: + release: + uses: ./.github/workflows/_release-module.yml + with: + module_path: submodules/logos-chat-module-mix + force_build: ${{ inputs.force_build }} + secrets: inherit diff --git a/.github/workflows/release-logos-chat-ui-mix.yml b/.github/workflows/release-logos-chat-ui-mix.yml new file mode 100644 index 0000000..a0fa949 --- /dev/null +++ b/.github/workflows/release-logos-chat-ui-mix.yml @@ -0,0 +1,35 @@ +name: Release logos-chat-ui-mix + +# Manually-triggered release for a single submodule. Delegates the +# build / verify / sign / publish pipeline to the local +# _release-module.yml reusable workflow so signing config lives in +# exactly one place. +# +# Source of truth for module name + version is +# submodules/logos-chat-ui-mix/metadata.json — read by the upstream +# logos-modules-release-action. +# +# This file is generated by scripts/add-module.sh from +# release-module.yml.template. Don't hand-edit the boilerplate; if you +# need to change the pipeline, edit _release-module.yml (shared) or the +# template (affects future modules). + +on: + workflow_dispatch: + inputs: + force_build: + description: "Force build — replace the current published release if it has the same version." + type: boolean + default: false + +# Forked repos default to a read-only GITHUB_TOKEN. +permissions: + contents: write + +jobs: + release: + uses: ./.github/workflows/_release-module.yml + with: + module_path: submodules/logos-chat-ui-mix + force_build: ${{ inputs.force_build }} + secrets: inherit diff --git a/.gitmodules b/.gitmodules index df0a200..d66f2fe 100644 --- a/.gitmodules +++ b/.gitmodules @@ -67,3 +67,11 @@ [submodule "submodules/logos-libp2p-module"] path = submodules/logos-libp2p-module url = https://github.com/logos-co/logos-libp2p-module +[submodule "submodules/logos-chat-module-mix"] + path = submodules/logos-chat-module-mix + url = https://github.com/logos-co/logos-chat-module + branch = feat/logos-testnetv02-mix +[submodule "submodules/logos-chat-ui-mix"] + path = submodules/logos-chat-ui-mix + url = https://github.com/logos-co/logos-chat-ui + branch = feat/logos-testnetv02-mix diff --git a/README.md b/README.md index 645374e..2e1b956 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,9 @@ by fetching `logos-repo.json` from the default branch root. | `logos-blockchain-module` | logos-blockchain | | `logos-blockchain-ui` | logos-blockchain | | `logos-chat-module` | logos-co | +| `logos-chat-module-mix` | logos-co (`feat/logos-testnetv02-mix`) | | `logos-chat-ui` | logos-co | +| `logos-chat-ui-mix` | logos-co (`feat/logos-testnetv02-mix`) | | `logos-delivery-module` | logos-co | | `logos-execution-zone-module` | logos-blockchain | | `logos-execution-zone-wallet-ui` | logos-blockchain | diff --git a/submodules/logos-chat-module-mix b/submodules/logos-chat-module-mix new file mode 160000 index 0000000..b31880d --- /dev/null +++ b/submodules/logos-chat-module-mix @@ -0,0 +1 @@ +Subproject commit b31880d57d98c81b242a9e7a1332f3c504cc42cf diff --git a/submodules/logos-chat-ui-mix b/submodules/logos-chat-ui-mix new file mode 160000 index 0000000..bc06582 --- /dev/null +++ b/submodules/logos-chat-ui-mix @@ -0,0 +1 @@ +Subproject commit bc065824f180ea5bc1d08f9e1149dbed9acb2f58