Repository navigation
chore: generic public deploy names and strip client identifiers - #437
Conversation
… group or org names)
Rename the Helm chart and namespaces from sagax-sandboxes to sandboxes / sandbox-system, replace the client deploy tree with deploy/example, and remove real hosts, vault names, D1 IDs and proof GUIDs from HEAD. Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Assertions still expected the leftover "production" stand-in after org names became Example. Match the fixtures and keep character counts derived from the about-me text.
The example stack used a prefix that made the cluster and identity names the same as the live AKS cluster. Use a generic prefix instead.
Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Public deploy docs and the host deploy script now use generic placeholders (<INSTALL_ROOT>, <APPLE_TEAM_ID>, <PERSPICAX_REPO>, <EDGE_SERVICE>) and /opt/sagax defaults. Rename the image-gate workflow off the old host name, match the sandbox pool Prometheus label to sagax.io/pool, and skip Docker rebuilds for deploy markdown. Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Vitest collects scripts/**/*.test.mjs, so the node:test runner-guard file failed shard 2 with "No test suite found". Rename it to *.node-test.mjs (same pattern as electron). List the interrupt coordination e2e that flaked on the same shard (wait() returned failed after interrupt; the file is unchanged vs main).
PreuveHEAD Checks that this PR must keep greenterm-guard Docker image / Boot-smoke runtime stdout (after the container became healthy):
Grep: no leftover host / infra names in added linesRun on UUIDs in added lines are sequential all-zero / Not merged. |
Restore runner-guard, the runner-label tests and ci-retry-list to match main (main already converted that suite to vitest). Put the image-gate workflow back at main's filename; its body still calls deploy-server.mjs.
Local clone --mirror only. Raw filter-repo log, git rev-list --all | wc -l (6127 before and after), and git grep of every rewritten commit (empty, exit 1). Live terms masked with placeholders. Rewritten refs were not pushed.
Keep the image-gate filename and generic helper; take main's IMAGE env for the image ref (#431). # Conflicts: # .github/workflows/gox-image-gate.yml
Leave the file byte-identical to main so this PR does not conflict with the image-gate engine-set check. That workflow is not part of this hygiene change.
The attached Preuve is the local mirror dry-run: rev-list counts before and after, then git grep -E over every rewritten SHA (empty stdout, exit 1). The image-gate workflow is not path-renamed.
Replace the collapsed proof with the real filter-repo log, the wc -l stdout before and after, and git grep of every rev-list SHA (empty, exit 1). Placeholders only.
Those two SHAs were only on origin/main; filter-repo dropped the origin remote. Not empty commits. Chart dir rename stays in #437.
The md path filter was off-topic. wrangler keeps main's D1 id lines. The two dropped SHAs were only on origin/main; filter-repo parsed 6078 because it removes that remote before walking.
Replace the contradictory workspace-mirror transcripts with a single run: clone --mirror --single-branch --branch main, 6070 before, 6070 after, no dropped SHAs. docker.yml and D1 id lines stay identical to main.
Second local filter-repo pass on a complete origin --mirror after deleting refs/pull. 20 heads, 30 tags, 6179 commits before and after, no dropped SHAs.
…lders Olesya audit on #437: ios-push already used <RESOURCE_GROUP>; cutover-rollback now uses <RESOURCE_GROUP>, <REGION>, <VM_SIZE>; the old helm chart path is gone. Same placeholders in the sibling docs and tofu defaults so case-insensitive class greps are 0.
Keep this branch's generic names and placeholders in the docs and k8s runbooks that conflicted. Main's side still had live region and VM-size literals and used the resource-group placeholder as a namespace. Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Commit 221a905 left '<REGION>' and '<VM_SIZE>' as OpenTofu defaults, which are not valid Azure values. Make location, system_vm_size and azure_vm_size required, validate region as ^[a-z]+[a-z0-9]*$ and SKU as ^Standard_[A-Za-z0-9_]+$, derive the core pool output from the variable, and restore the AKS sandbox-pool SKU regex (not length > 0). Also add docs/history-rewrite-plan.md: rewrite scope includes cursor/docker-image-cves-5d72 (commit 1b3bbe5, Trivy JSON from PR #444) and an explicit GitHub Support purge of refs/pull/444. Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Take main's engine self-check: recorded --version is reused at boot, and a missing line is probed one at a time. Hygiene only had a comment on the old concurrency. No rebase. Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
…t la description du commit à purger
Bring in the voice hangup work and the official-build default-server secret. No rebase. Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Public HEAD no longer names the private repository. Restore the history-rewrite description of commit 1b3bbe5's Trivy JSON and the Support purge of refs/pull/444. Co-authored-by: Jean-Christophe Proulx <j.christophe@devjc.net>
Hygiène du dépôt public
Remplace les valeurs d'infrastructure par des placeholders et des noms génériques, et prépare la réécriture d'historique (plan dans
docs/history-rewrite-plan.md, aucun push forcé dans cette PR).Commits
c30abdc5: essai à blanc de réécriture sur miroir complet (nombre de commits identique avant/après).221a9055: placeholders et renommage du chart.fcc19e61: merge demain(commit de merge, conflits résolus en gardant les noms génériques).106a8091: variables OpenTofu Azure obligatoires et plan de réécriture complété.a4479d38: nouveau merge demain; seuls conflitsserver/engines-self-check.tset son test, comportement demain(fix(server): ne plus relancer les moteurs au démarrage #433) conservé.5090ef4e: inventaire de réécriture complété, par placeholders.8d90b0e3: placeholders<PRIVATE_REPO_NAME>et<region>, mention du commit à purger réduite.47c1cf0e: merge demain(ci(release) : serveur par défaut des builds officiels depuis un secret #449, feat(voice): la personne ou le bot peut raccrocher #435) et derniers restes du nom du dépôt privé remplacés par placeholder.b8da6461: section 7 du plan (purge de l'historique d'édition des PR) et check-list finale.OpenTofu
location,system_vm_size,azure_vm_size: obligatoires, sans défaut, validation par regex (région^[a-z]+[a-z0-9]*$, SKU^Standard_[A-Za-z0-9_]+$), messages d'erreur avec<region>.core/outputs.tfdériveazure_vm_sizede la variable.aks.tf: garde stricte par regex SKU rétablie.Plan de réécriture
Inclut la branche de #444 (commit à purger), la purge explicite de
refs/pull/444/*auprès du Support GitHub et la purge de l'historique d'édition des PR.Changements qui ne sont pas de purs placeholders
Noms génériques du chart et des namespaces, nom de domaine des labels produit, fixtures génériques, champ serveur vide sauf si
SAGAX_DEFAULT_SERVERest défini (builds officiels : voir #449), exemples tfvars génériques et documentation des variables obligatoires.Preuve
Tête
b8da6461.Parsed 6179, rien de poussé.tofu fmt -checkettofu validate(azure, k3s) : OK à106a8091; depuis, seules des chaîneserror_messageont changé dans OpenTofu.