feat: preflight fixed external publication targets in public CI #7
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/external-publication-preflight"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Owner configured four public-org publish Secrets and confirmed all external organizations xtrape-project. Add a manual main-only preflight in the public organization to read this fixed same-name repository on GitHub/GitLab/Codeberg/Gitee. No external writes or repository creation; no private build artifacts.
Bounded safe output only: redirects refused, no proxy, fixed HTTPS targets, limited response size, generic transport errors; raw bodies and credentials never printed or persisted. A successful read explicitly leaves write permission unproven; 404 is not-found-or-not-visible, never proof of absence. Missing/rejected/transport outcomes are distinct. PR test workflow has no secrets; each manual platform job receives only its own token.
Actual validation: eight Python behavior tests locally and Node24Bookworm PASS; pnpm10.28.2 frozen install/lint/typecheck/build and 22 files/348 tests PASS (single worker). Initial local tooling attempts with unpinned pnpm / absent shim failed before product checks, corrected without lockfile change. Author self-review: only four new control/test files, product/accepted artifacts unchanged. Canonical docs#293, publication repositories.yaml and docs/reference/06-versioning-and-release-train.md. Risk bounded read-only external credential use; no permission changes, no host2. Requires exact HEAD/base non-author review and all CI before merge/dispatch.
HEAD
dbe9ac2a28/ basec9995ced94EXTERNAL-PUBLICATION-PREFLIGHT-20261019 — independent non-author formal APPROVED, exact HEAD
dbe9ac2a28/ basec9995ced94, author codex. Read all four new control/test files. The new workflow is manual-only, if scoped exactly to xtrape-project/linux-ops-widget-nodejs on refs/heads/main. Four named jobs (GitHub/GitLab/Codeberg/Gitee) each receive ONLY their own respective Actions secret, after fixed pinned checkout and eight safety unit tests; the PR CI runs the unit tests with no publishing secret. Python uses fixed HTTPS public endpoints for precisely xtrape-project/linux-ops-widget-nodejs, GET only, disabled proxy and redirect following, 1 MiB response cap and timeout 30s. No discovery /user call, repo creation, permission update, write, push, or external publication; returns fixed safe classification strings only, never prints token, username, URL response body, or raw exceptions. HTTP 200 requires exact platform-specific repository full_name/path_with_namespace and maps ONLY to TARGET_READABLE_WRITE_UNPROVEN, not write authorization; 404 maps ONLY to NOT_FOUND_OR_NOT_VISIBLE (failure), no absence/permission claim. 401/403, 429, 3xx, other HTTP, invalid payload, missing token, and transport anomalies do not masquerade as readiness. Eight tests cover target identity, status separation, redirect suppression, bad credential/platform, GET method and error sanitization. Boundaries: GitHub/GitLab/Codeberg/Gitee are read-only preflight only, actual target write permission, repo availability and external artifact distribution remain unproven and require separate authorization/execution. Author-reported Node24Docker eight tests and frozen install/lint/typecheck/build/22 files/348 product assertions are not reviewer-executed current PR CI. CI/gated merge still pending. No merge, dispatch, secret or permission operations, external publication, or Host2 deployment by this reviewer.Author Merge Readiness Confirmation — codex. Exact HEAD
dbe9ac2a28; basec9995ced94. Current official non-author approval, all current CI successful, mergeable and user_can_merge confirmed; no code blocker. Actual local tests and limits remain as recorded in this PR. Guarded merge binds this HEAD. This merges GET-only external preflight controls; actual external publishing/write capability remains unproven. No credential or permission changes.