Commit Graph
313 Commits
Author SHA1 Message Date
Andrew Qi cd0d7fe28e chore(ci): add stage-tamagotchi-godot in publish (#1841) 2026-05-21 03:04:22 +08:00
Lovehsigure_520 65751f598d chore(ci): mirror release assets to GitCode (#1797)
## Summary

Adds GitCode Release mirroring for AIRI release assets.

- Adds a reusable `.github/scripts/publish-gitcode-release.sh` helper
that creates or reuses the matching GitCode release, compares GitHub and
GitCode asset names, downloads only missing `AIRI-*` and `latest-*.yml`
assets, uploads them through GitCode's upload URL API, and verifies the
final asset list.
- Hooks the mirror step into desktop, Android, and iOS release workflows
so assets produced by separate release jobs can converge on the same
GitCode release.
- Keeps the mirror idempotent so repeated or concurrent release
workflows skip already mirrored files.

## Why

GitHub Releases are slow for many mainland China users. GitCode provides
a domestic fallback release page, but manually copying installers after
every release is error-prone and tedious.

## Validation

- `bash -n .github/scripts/publish-gitcode-release.sh`
- YAML parsing for:
  - `.github/workflows/release-tamagotchi.yml`
  - `.github/workflows/release-pocket-android.yml`
  - `.github/workflows/release-pocket-ios.yml`
- `git diff --check -- .github/scripts/publish-gitcode-release.sh
.github/workflows/release-tamagotchi.yml
.github/workflows/release-pocket-android.yml
.github/workflows/release-pocket-ios.yml`
- Local idempotency check against existing `v0.10.1` GitHub/GitCode
releases:
  - GitCode release already exists
  - all mirrored assets already present
  - final asset verification passed

## Setup Required

The target repository needs these GitHub Secrets:

- `GITCODE_TOKEN`
- `GITCODE_OWNER`
- `GITCODE_REPO`

For the current GitCode project, `GITCODE_OWNER` should remain `MoeruAI`
because GitCode's API and release download paths currently resolve that
namespace even though the UI displays `moeru-ai`.
2026-05-19 21:49:26 +08:00
Lovehsigure_520 a04048c768 fix(ci): open PR for sponsors updates (#1848)
## Summary

- change the sponsors workflow to create or update a generated-assets PR
instead of pushing directly to `main`
- publish generated SponsorKit assets to
`automation/update-sponsors-svg`
- use the existing `PAT_SLASH_COMMAND_DISPATCH` token when available so
the generated PR can trigger downstream checks, with `github.token` as a
fallback

## Why

The sponsors generation step now succeeds, but direct pushes to `main`
are rejected by repository rules because required checks are expected. A
PR-based update path keeps generated assets behind the normal branch
protection flow.

## Verification

- `ruby -e 'require "yaml";
YAML.load_file(".github/workflows/sponsors-svg.yml"); puts "yaml ok"'`
- `ruby -e 'require "yaml";
wf=YAML.load_file(".github/workflows/sponsors-svg.yml");
run=wf.fetch("jobs").fetch("generate").fetch("steps").find { |s|
s["name"] == "Create or update sponsors PR" }.fetch("run");
IO.popen(["bash", "-n"], "w") { |io| io.write(run) }; abort "bash -n
failed" unless $?.success?; puts "bash syntax ok"'`
- `git diff --check`
- `pnpm install --frozen-lockfile --ignore-scripts`
- `pnpm exec moeru-lint .github/workflows/sponsors-svg.yml` (workflow
file is ignored by repo lint config; command exited 0 with ignored-file
warning)
2026-05-19 20:06:17 +08:00
Weathercold d9dd2862e9 chore(ci): Remove CI concurrency group & small fixes (#1758)
## Description

<!-- Please insert your description here and especially provide info
about the "what" this PR is solving -->

It has no effect. The actions are run in parallel anyway. They have been
previously updated to not fail when run in parallel.

## Linked Issues

<!-- Optional, if you have any -->

## Additional Context

<!-- e.g. is there anything you'd like reviewers to focus on? -->
2026-05-04 06:37:35 +08:00
Makito 9dc78be7c1 chore(ci): simplify inputs for pocket-ios release workflow 2026-04-28 16:58:13 +09:00
Makito d413225346 chore(ci): change code sign style to manual for pocket-ios release build 2026-04-28 03:03:17 +09:00
RainbowBird 5d5f739eba revert(server/docker): restore assets distribution image 2026-04-28 00:54:13 +08:00
RainbowBird c0859c9798 fix(server/docker): squash auth ui to server image 2026-04-28 00:34:14 +08:00
刘梓恒 51bff3ed73 chore(agent): add computer-use-mcp agent governance (#1737)
Co-authored-by-agent: Antigravity <antigravity@gemini.com>
2026-04-27 15:31:02 +08:00
Neko Ayaka a9359a3924 chore(ci): skip windows if signpath.io failed to sign us 2026-04-26 05:43:57 +08:00
Lilia_Chenandautofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> c6c0494998 feat(stage-tamagotchi-godot): add Godot stage G0 sidecar preview (#1724)
## Summary

Add the G0 Godot Stage sidecar preview for `stage-tamagotchi`.

## Design

- Keep Electron as the desktop host and run Godot as a separate sidecar
window by design.
- Use the settings window as the entry point for starting/stopping the
experimental Godot Stage.
- Require explicit `GODOT4` in development mode instead of
auto-discovering local Godot installs.
- Use the packaged sidecar under `process.resourcesPath/godot-stage` in
the packaged runtime.
- Close the Godot WebSocket lifecycle channel on startup failure and
stage shutdown.

## Changes

- Add the Electron main-side Godot Stage lifecycle service.
- Add renderer/settings wiring for switching to the experimental Godot
Stage.
- Add the minimal Godot stage runtime skeleton and WebSocket handshake
path.
- Add Godot export presets for sidecar builds.
- Add sidecar path verification for the Godot export preset and
`electron-builder` resource contract.
- Document the development runtime setup and packaging expectations.

## CI/CD

- Align Godot CI to `4.6.2`.
- Add Linux Godot export smoke coverage as the fastest CI export path.
- Add sidecar contract verification to CI.
- Run packaged sidecar verification after `electron-builder --dir`.

CD is intentionally deferred in this PR. The release workflow still
needs a later step to export the Godot sidecar before packaging release
artefacts.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-04-25 00:56:03 +08:00
Andrew QiNekogemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>Qigithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
0976c53d32 chore(ci): modified CI for Godot stage (#1716)
## Description

This PR adds basic CI for Godot stage via ci.yml.

---------

Co-authored-by: Neko <neko@ayaka.moe>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Qi <shengen.qi@hpe.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-23 22:06:15 +08:00
Liet Blue 61371060e7 fix(ci): harden pr-triage prompt against WASM guard UTF-8 crash (#1653)
The WASM guard (lib.rs:939) panics on `&output_json[..500]` when the
serialized output contains CJK characters at the byte boundary. This
poisons the guard for the entire session.

- Flip call order: get_files first (ASCII-dominant response), get second
- Add fallback: curl GitHub API when MCP server dies
- Narrow bash restriction: allow read-only shell for data retrieval
- Recompile lock file
2026-04-13 16:24:15 +08:00
Rin b7e9ce1a3d fix(ci): min-integrity: none for safeoutput mcp call (#1645) 2026-04-12 18:02:58 +08:00
Rin 4e1946da43 fix(ci): pr triage permission (#1619) 2026-04-11 01:03:03 +08:00
Neko Ayaka 139e71824f chore(ci): incorrect build name 2026-04-10 20:08:36 +08:00
Neko Ayaka b59c8d0861 chore(ci): with name, and should support branch for tag name 2026-04-10 19:49:07 +08:00
Neko Ayaka 9fe3abdf5b chore(ci): publishes ui-server-auth as assets image 2026-04-10 19:36:53 +08:00
Neko 4da2ab8924 chore(ci): remove notification completely 2026-04-10 03:05:18 +08:00
RainbowBird 525e13a179 chore(workflow): remove luoling8192 from PR deploying notifaction 2026-04-09 22:41:41 +08:00
Neko Ayaka 12c585d856 chore(ci): android now publishes to itch.io 2026-04-08 01:16:37 +08:00
Makito 1326a3c31a chore(ci): add on.release trigger for stage-pocket iOS workflow 2026-04-08 00:23:56 +09:00
Neko 4ea4044f4e chore(ci): added more labels 2026-04-07 16:50:44 +08:00
Neko Ayaka f649006948 chore(ci): missing bundle name export 2026-04-06 21:37:34 +08:00
Makito 46d04479de chore(ci): install iTMSTransporter for stage-pocket iOS workflow 2026-04-05 20:03:15 +09:00
Makito ed3382c461 chore(ci): adjust inputs for stage-pocket iOS workflow 2026-04-05 19:45:59 +09:00
Makito c1fb62317a chore(ci): upload IPA to TestFlight 2026-04-05 19:39:38 +09:00
Rin 2876817f6f chore(ci): add label sync and PR triage workflows (#1575) 2026-04-05 03:11:13 +08:00
Makito f4b61c69e1 chore(ci): upload iOS build artifacts to releases 2026-04-05 01:44:58 +09:00
Makito 34ec68034b chore(ci): include build number in IPA filename 2026-04-04 20:19:15 +09:00
Makito 3a018d91f3 chore(ci): add codesign and archive steps for stage-pocket iOS build 2026-04-04 17:14:34 +09:00
Makito 6eee51184f chore(ci): use macos-26 2026-04-04 14:06:25 +09:00
Makito 291f3e3baf chore(ci): add release workflow for stage-pocket iOS build 2026-04-04 12:06:07 +09:00
Neko Ayaka fbd17e9311 chore(ci): now publishes to itch.io 2026-04-02 01:51:35 +08:00
LemonNeko c1d3cf8d3b fix(ci): wrong apk path 2026-04-01 19:07:22 +08:00
LemonNeko b307d7fc2f fix(ci): fix missing build-tools 2026-04-01 18:55:01 +08:00
LemonNeko b55ef1f8c8 chore(ci): fix empty workspace path 2026-04-01 18:24:50 +08:00
LemonNeko 0b3f418c9d chore(ci): build android release apk 2026-04-01 17:43:46 +08:00
Neko 8991b541a3 chore(tauri-*,crates): now maintaining tauri and rust packages in another repo (#1533) 2026-03-31 23:56:32 +08:00
Neko Ayaka ec9436a173 chore(ci): incorrect env passing in GitHub Actions 2026-03-30 03:09:02 +08:00
Neko Ayaka 498c30bc2e chore(ci): incorrect layer to event context 2026-03-29 16:22:44 +08:00
Neko Ayaka 9defec12b1 chore(ci): missing context 2026-03-29 16:18:50 +08:00
Neko Ayaka 49219cc752 chore(ci): debug 2026-03-29 16:13:05 +08:00
Neko Ayaka 77db3e317c chore(ci): should checkout 2026-03-29 16:09:08 +08:00
Neko Ayaka 94c69c0bd6 chore(ci): basic ChatOps 2026-03-29 16:07:42 +08:00
Neko Ayaka d092a59155 style: lint 2026-03-28 17:05:12 +08:00
Neko a60c73616f chore: updated 2026-03-28 06:00:01 +08:00
Salman ChishtiandNeko 84110b2abe chore(ci): bump GitHub Actions actions (#1048)
---------

Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
Co-authored-by: Neko <neko@ayaka.moe>
2026-03-28 05:16:25 +08:00
RainbowBird ef18772798 feat(server): message queue 2026-03-28 02:25:44 +08:00
RainbowBird 0d9eebc368 chore(ci): rename dev server workflow 2026-03-28 02:25:44 +08:00