Persiste la dérive runtime après rebuild de l'AppImage 0.3.0 (conversation 6bc594e8 handoff+log, layouts) et ajoute le checkpoint checkpoint-orchestrator-designation-appimage-build (build via appimagetool --runtime-file en contournement de l'échec linuxdeploy), indexé dans MEMORY.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
98 lines
3.0 KiB
Markdown
98 lines
3.0 KiB
Markdown
---
|
|
name: checkpoint-orchestrator-designation-appimage-build
|
|
description: memory note checkpoint-orchestrator-designation-appimage-build
|
|
metadata:
|
|
type: project
|
|
---
|
|
# Checkpoint — AppImage rebuild après orchestrator-designation
|
|
|
|
Date: 2026-06-20
|
|
|
|
## État Git avant build
|
|
|
|
Git avait clôturé `feature/orchestrator-designation`:
|
|
- Commits atomiques créés:
|
|
- `287681c feat(orchestrator): ...`
|
|
- `e462136 feat(terminals): ...`
|
|
- `09f5362 docs: ...`
|
|
- `5ef001e chore(wip): ...`
|
|
- Merge local dans `develop`: `55d887f merge(orchestrator): intègre le chantier orchestrator-designation dans develop`.
|
|
- Branche `feature/orchestrator-designation` supprimée.
|
|
- Worktree propre à ce moment-là.
|
|
|
|
## Rebuild tenté
|
|
|
|
Commande initiale:
|
|
|
|
```bash
|
|
npm --prefix frontend run build && \
|
|
cd crates/app-tauri && \
|
|
APPIMAGE_EXTRACT_AND_RUN=1 NO_STRIP=1 ../../frontend/node_modules/.bin/tauri build --bundles appimage
|
|
```
|
|
|
|
Résultat:
|
|
- Frontend build OK.
|
|
- Rust release build OK: `/home/anthony/Documents/Projects/IdeA/target/release/app-tauri`.
|
|
- AppDir généré: `/home/anthony/Documents/Projects/IdeA/target/release/bundle/appimage/IdeA.AppDir`.
|
|
- Bundling Tauri KO: `failed to run linuxdeploy`.
|
|
|
|
## Contournement réussi
|
|
|
|
`appimagetool` extrait existait dans:
|
|
|
|
```text
|
|
/tmp/appimage_extracted_02f96dbd6ecc47f616b5a57fb8b7aa60/usr/bin/appimagetool
|
|
```
|
|
|
|
L'appel direct à appimagetool échouait car réseau restreint:
|
|
|
|
```text
|
|
Failed to download runtime ... pass it to appimagetool with --runtime-file
|
|
```
|
|
|
|
Runtime extrait depuis l'ancienne AppImage locale:
|
|
|
|
```bash
|
|
/home/anthony/Documents/IdeA_0.2.0_amd64.AppImage --appimage-offset
|
|
# 944632
|
|
|
|
dd if=/home/anthony/Documents/IdeA_0.2.0_amd64.AppImage \
|
|
of=/tmp/idea-appimage-runtime-x86_64 \
|
|
bs=1 count=944632 status=none
|
|
chmod +x /tmp/idea-appimage-runtime-x86_64
|
|
```
|
|
|
|
Commande finale réussie:
|
|
|
|
```bash
|
|
ARCH=x86_64 APPIMAGE_EXTRACT_AND_RUN=1 NO_STRIP=1 \
|
|
/tmp/appimage_extracted_02f96dbd6ecc47f616b5a57fb8b7aa60/usr/bin/appimagetool \
|
|
--runtime-file /tmp/idea-appimage-runtime-x86_64 \
|
|
/home/anthony/Documents/Projects/IdeA/target/release/bundle/appimage/IdeA.AppDir \
|
|
/home/anthony/Documents/Projects/IdeA/target/release/bundle/appimage/IdeA_0.3.0_amd64.AppImage
|
|
```
|
|
|
|
Artefact produit:
|
|
|
|
```text
|
|
/home/anthony/Documents/Projects/IdeA/target/release/bundle/appimage/IdeA_0.3.0_amd64.AppImage
|
|
Taille: 106M
|
|
--appimage-offset: 944632
|
|
```
|
|
|
|
## État Git après build
|
|
|
|
Le build/la session a laissé du runtime dirty:
|
|
|
|
```text
|
|
## develop...origin/develop [ahead 8]
|
|
M .ideai/conversations/6bc594e8-a37c-0dbd-1de6-6e3b73002cb4/handoff.md
|
|
M .ideai/conversations/6bc594e8-a37c-0dbd-1de6-6e3b73002cb4/log.jsonl
|
|
M .ideai/layouts.json
|
|
```
|
|
|
|
Ne pas nettoyer arbitrairement. Demander à Git de décider si ces fichiers runtime doivent être commités/ignorés au prochain passage.
|
|
|
|
## Important live
|
|
|
|
L'AppImage en cours d'exécution ne charge pas automatiquement ce nouvel artefact. Pour utiliser les correctifs d'orchestration/write-portal, lancer l'artefact 0.3.0 produit ci-dessus ou remplacer l'AppImage installée hors sandbox si nécessaire. |