gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6cc1f9436cc1f943Merge branch 'records-1112' into mainGitoria6cc1f943/docs/pr-deploy-plan.md

2.4 KB

  1. # Plan: one shared PR-based deploy-init (#50 step 3)
  2. 2026-11-09, Gitoria. Status: PLAN accepted by Apollo 2026-11-09; switch-on gitoria 2026-11-12, others after one proof PR each. Flow: branch → PR → Kunibert → merge → deploy.
  3. ## Today
  4. `worldapi-conductor/deploy-init.sh <app>` checks out the local HEAD in a worktree, runs boot gate + `deploy.sh` gates, deploys, and after rc=0 runs `git push` (main). With "Refuse direct pushes to the main branch" switched on, that push is refused.
  5. ## Change
  6. 1. **Branch + PR.** A worker commits on a branch `<topic>` and pushes it; the PR is opened by the commit subject `|||PR ` (into main). Local main is never committed to directly.
  7. 2. **Kunibert.** Kunibert reviews the PR against hybriel/docs/HL-STANDARD.md (rule ids cited) and sets status context `kunibert`. When the repo marks Kunibert required, Merge stays off until approve + success.
  8. 3. **Merge.** The owner (caramboleyo, button on /pulls) or a member conductor with its own gtr_ user token: `POST /api/repos/<repo>/pulls/N/merge {"head":"<sha>"}` (apps-api.md §7; apps cannot merge).
  9. 4. **Deploy.** `deploy-init.sh <app>` changes in three lines:
  10. - `git -C $d fetch -q origin main` and the worktree at `origin/main` (not local HEAD); refuse if local main has commits not on origin/main ("FAILED — unmerged local commits").
  11. - gates/boot gate/deploy unchanged.
  12. - after rc=0 no `git push`; `git -C $d merge --ff-only origin/main` keeps the local folder current.
  13. A broken merge is fixed by a new PR, never by a push to main.
  14. ## Open before the switch-on
  15. - **Who merges (decided, his rule 2026-10-31 via Apollo 2026-11-09):** conductors merge bug fixes and utility changes themselves; caramboleyo merges features after accepting them. So every app conductor gets its own gitoria user (member of its repo, #48 member merge) and its own gtr_ token in `~/.config/<app>/gitoria-token`; features wait for his button.
  16. - Kunibert as **required** check per repo (today non-blocking on 9 app repos).
  17. - Records-only commits (LOG.md) also go through PRs once the setting is on; conductors batch them into one PR per day, or LOG.md moves out of git.
  18. ## Switch-on (proposal)
  19. Per repo, in this order: deploy-init change live (works with the setting off too) → one proof PR per app merged + deployed → owner switches the setting on. Proposed date: 2026-11-12 for gitoria first, the other app repos after their conductors confirm one proof PR each.

Branches

Latest commits

  • 6cc1f943Merge branch 'records-1112' into mainGitoria
  • 9448c438|||PR records: LOG, missions and reports since 11-09mre
  • 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
  • 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
  • 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
  • 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria
  • 698458e2|||PR No session for cookieless login errors: READMEmre
  • cce7b785|||PR No session for cookieless login errorsmre
  • 678d6303Merge branch 'v59' into mainGitoria
  • 5803cf4f|||PR vendor: Hybriel set-day59 and GC budget 32 MiBmre
  • 9eff6627Merge branch 'f2-api-bugs' into mainGitoria
  • 26117255|||PR apps API: review comments on files with spaces in their namemre
  • b8796cecMerge branch 'f1-broken-json' into mainGitoria
  • 2f2959c5|||PR apps API: broken JSON body gives 400 invalid_json, not 500mre
  • f7c6ca07Merge branch 'ident-chooser-selector' into mainGitoria
  • 691abb8e|||PR tests: find ident identity choice without the removed .choose classmre
  • 16a3530fMerge branch 'heap-revert' into mainGitoria
  • 220a80e0|||PR Remove temporary /__heap route and heap helper; logmre
  • 13f0c342Merge branch 'hl25-records' into mainGitoria
  • a002ecb7|||PR records: HL25 report, heap helper, logmre