Personal Telegram developer console for GitHub

docs: record Actions runtime upgrade checkpoint

davoodmehraban89 committed Oct 2, 2026 at 23:12 UTC 7574fb1a373c3ab7b81f3f6857452059287cd44e
1 file changed +33 -36
PROJECT_MEMORY.md
+33 -36
@@ -22,7 +22,7 @@
22 - `src/github.js` — authenticated GitHub REST reader; explicit errors, numeric repository-id resolution, tree/blob access.
23 - `src/menu.js` — hierarchical inline menus, one-message editing, repository/file browser.
24 - `src/config.js` — non-secret static config.
25 -- `.github/workflows/ci.yml` — Node 22 CI with non-zero test-discovery guard.
25 +- `.github/workflows/ci.yml` — Node 22 project test runtime, Node-24-based official GitHub Actions, non-zero test-discovery guard.
26 - `test/` — security, worker, navigation, menu, GitHub and Telegram regression coverage.
27
28 ## Runtime Configuration
@@ -43,50 +43,48 @@ Required names:
43 - Temporary setup/diagnostic exposure is disabled.
44 - Operational UI does not invent SLA, latency or external health claims.
45
46 -## Telegram UX
46 +## Telegram UX / GitHub Reader
47 - `/start` creates the initial menu message.
48 - Callback navigation uses `editMessageText` on the same Telegram message.
49 - Main sections: Repositories, Status, Tools, Settings, Security.
50 - Repository sections: Files, Pull Requests, Commits, Actions status, Back.
51 - Back navigation and breadcrumb-style text exist.
52 -
53 -## Deep File Browser — 2026-10-02
54 -Branch/PR checkpoint:
55 -- Branch: `feat/deep-file-browser`
56 -- PR: `#8`
57 -- Red test commit: `f5a1a75180344b306c000b3db580cd55c06abc67`
58 -- Implementation head before this docs commit: `7a81ca8adf2594b2478b0c9d8f7d308ec6121ba8`
59 -- PR CI run: `37055098355`
60 -- Exact result: `29` tests, `29` passed, `0` failed, `0` skipped/cancelled.
61 -
62 -Implemented:
63 -- Repository menu callbacks now use numeric GitHub repository IDs returned by `/user/repos`.
64 -- Numeric IDs keep callback payloads short and allow repositories outside the configured default owner to resolve correctly.
65 -- Legacy name-based repository references remain supported.
66 -- Folder navigation uses Git tree SHA callbacks: `tree:<repoId>:<sha>`.
67 -- File preview uses Git blob SHA callbacks: `blob:<repoId>:<sha>`.
68 -- Tree/blob SHA input is validated as 40-char hexadecimal.
69 -- File/folder navigation remains in the same Telegram message.
70 -- File previews are HTML-escaped; oversized/non-base64 blobs are not rendered directly.
71 -- Directory views cap interactive entries at 30 and disclose omitted counts.
72 -- Root/project return buttons are always provided.
73 -
74 -TDD evidence:
75 -- New tests were committed first and CI failed with 4 expected navigation failures (`29 total / 25 pass / 4 fail`).
76 -- Implementation then changed `src/github.js` and `src/menu.js`.
77 -- Re-run CI passed `29/29`.
52 +- Repository callbacks use numeric GitHub repository IDs.
53 +- Folder navigation uses `tree:<repoId>:<sha>` and file previews use `blob:<repoId>:<sha>`.
54 +- Tree/blob SHA input is validated.
55 +- File previews are HTML-escaped and bounded; oversized/non-base64 blobs are not rendered directly.
56 +- Directory interactive entries are capped at 30 and omitted counts are disclosed.
57 +
58 +## Deep File Browser — Verified/Merged 2026-10-02
59 +- PR `#8` merged to `main` at commit `b2a2b61ffb92dc14508e16a19c6221a805445c76`.
60 +- Regression-first RED evidence: 29 tests / 25 pass / 4 expected fail before implementation.
61 +- PR green CI: run `37055283770` = 29/29 pass.
62 +- Post-merge `main` CI: run `37055466988` = 29/29 pass.
63 +- Deep folder/file browsing remains single-message navigation.
64 +
65 +## GitHub Actions Runtime Upgrade — Current Slice
66 +- Branch: `chore/actions-node24-runtime`
67 +- PR: `#9`
68 +- Change commit: `a04b7230afc75262d3c15ab9b7f2f9a79179d6d3`.
69 +- `actions/checkout` upgraded from v4 to v7.
70 +- `actions/setup-node` upgraded from v4 to v7.
71 +- Project test Node version remains 22.
72 +- `package-manager-cache: false` is explicit to preserve prior no-cache CI behavior.
73 +- PR CI run `37055691513` passed 29/29 tests.
74 +- The prior GitHub Actions Node-20-runtime deprecation warning is absent from this green run.
75 +- This documentation commit must receive its own green CI before PR #9 is merged.
76
77 ## Current Work / Last Checkpoint
78 WHERE WE ARE:
81 -- Deep interactive file/folder browsing is implemented and automated-test verified on PR #8.
82 -- PR #8 still requires the final docs-triggered CI re-run and merge to `main`.
83 -- Live Cloudflare verification remains blocked from the current execution environment by DNS resolution failure for the workers.dev hostname.
84 -- Real Telegram mobile smoke is still NOT VERIFIED.
79 +- Security, data trust, one-message navigation and deep repository file browsing are implemented and automated-verified on `main`.
80 +- PR #9 contains the verified official GitHub Actions runtime upgrade.
81 +- Live Cloudflare verification is still blocked from the current execution environment by DNS resolution failure for the workers.dev hostname.
82 +- Real Telegram mobile smoke is NOT VERIFIED.
83
84 WHAT REMAINS:
87 -1. Verify CI for this documentation commit and merge PR #8 into `main` only if green.
85 +1. Verify CI for this PROJECT_MEMORY commit on PR #9; merge only if green.
86 2. Verify post-merge CI on `main`.
89 -3. Verify the live Cloudflare root/health/status endpoints from an environment that can resolve the workers.dev hostname.
87 +3. Verify live Cloudflare root/health/status endpoints from an environment that can resolve workers.dev.
88 4. Owner-device Telegram smoke: `/start → Repositories → repository → Files → folder → file preview → root → project → Commits/PR/Status → Back → Main`.
89 5. Confirm callbacks create no extra bot messages.
90 6. Confirm a non-owner Telegram account receives no private bot response.
@@ -104,7 +102,6 @@ Minimum automated gates:
102 ## Known Gaps / Technical Debt
103 - Live Cloudflare deployment content is not verified in this environment.
104 - Real mobile Telegram smoke is not verified yet.
107 -- GitHub Actions emits a Node-20-runtime deprecation warning for `actions/checkout@v4` and `actions/setup-node@v4`; current CI still passes, but action upgrades should be handled in a separate verified slice.
105 - Persistent navigation/session storage is not required for current stateless callback flow.
106
107 ## Project Boundaries
@@ -131,4 +128,4 @@ Minimum automated gates:
128 - `wrangler.jsonc`
129
130 ## Next Executable Action
134 -Wait for the PR #8 CI run for this docs commit; if green, merge to `main`, verify `main` CI, then continue to live/mobile validation or the next independent hardening slice.
131 +Verify PR #9 CI for this docs commit; if green, fast-forward `main`, verify PR merged state and post-merge `main` CI, then continue to the remaining live/mobile verification boundary.