feat: isolate fixed Gitee DNS transport failures without credentials #11

Merged
codex merged 1 commit from feat/external-dns-transport-diagnostic into main 2026-10-19 19:02:05 +00:00
Contributor

CI11759 now proves Gitee getaddrinfo EAI_AGAIN and Node lookup EAI_AGAIN/resolve4 ESERVFAIL; bounded DNS retries did not recover. Workstation and local Docker default resolution succeed. Add a separate credential-free manual workflow to compare only gitee.com and fixed control gitlab.com via current system DNS and TCP queries to the same configured resolver. No nameserver, runner, network or permission setting is changed.

Each query runs in a child process with12s timeout and strips token/password/secret/Git-control environment. Only fixed result codes, domain and profile are reported, never resolved IPs, resolver addresses/config, errors or credentials. TCP uses child-only RES_OPTIONS use-vc with bounded timeout/attempts; the parent env is unchanged. Default DNS result defines diagnostic readiness, TCP is just a comparison. No HTTP credential request, token tests, /user discovery, repository creation or external write. New main-scoped workflow has no external secret references.

Validation:5 new behavior tests PASS local and Node24Docker, including fixed target/profile allowlist, child timeout and poisoned result suppression, parent env preservation and optional TCP result semantics. After rebase onto reviewed source-delivery main, all37 external unit/real local Git tests PASS in Node24Docker; Node24 frozen install/lint/typecheck/build/348 product assertions PASS with unchanged product code. Author self-review includes resolving only CI-test list conflict by retaining both existing source and new DNS tests. Actual revised CI diagnostic is unexecuted; no infrastructure cause or repair claimed. Canonical inherited AGENTS, docs#293, docs/reference/06-versioning-and-release-train.md. Only existing runner executes reviewed CI; no Host2 deployment.

CI11759 now proves Gitee getaddrinfo EAI_AGAIN and Node lookup EAI_AGAIN/resolve4 ESERVFAIL; bounded DNS retries did not recover. Workstation and local Docker default resolution succeed. Add a separate credential-free manual workflow to compare only gitee.com and fixed control gitlab.com via current system DNS and TCP queries to the same configured resolver. No nameserver, runner, network or permission setting is changed. Each query runs in a child process with12s timeout and strips token/password/secret/Git-control environment. Only fixed result codes, domain and profile are reported, never resolved IPs, resolver addresses/config, errors or credentials. TCP uses child-only RES_OPTIONS use-vc with bounded timeout/attempts; the parent env is unchanged. Default DNS result defines diagnostic readiness, TCP is just a comparison. No HTTP credential request, token tests, /user discovery, repository creation or external write. New main-scoped workflow has no external secret references. Validation:5 new behavior tests PASS local and Node24Docker, including fixed target/profile allowlist, child timeout and poisoned result suppression, parent env preservation and optional TCP result semantics. After rebase onto reviewed source-delivery main, all37 external unit/real local Git tests PASS in Node24Docker; Node24 frozen install/lint/typecheck/build/348 product assertions PASS with unchanged product code. Author self-review includes resolving only CI-test list conflict by retaining both existing source and new DNS tests. Actual revised CI diagnostic is unexecuted; no infrastructure cause or repair claimed. Canonical inherited AGENTS, docs#293, docs/reference/06-versioning-and-release-train.md. Only existing runner executes reviewed CI; no Host2 deployment.
feat: isolate fixed Gitee DNS transport failures without credentials
All checks were successful
CI / validate (pull_request) Successful in 2m17s
External preflight tests / test (pull_request) Successful in 10s
Public release guard tests / test (pull_request) Successful in 7s
CI / dependency-audit (pull_request) Successful in 24s
CI / secret-scan (pull_request) Successful in 25s
7648036189
chatgpt approved these changes 2026-10-19 18:57:11 +00:00
chatgpt left a comment

EXTERNAL-FIXED-DNS-TRANSPORT-20261019 — independent non-author formal APPROVED review bound to exact HEAD 7648036189 and base 3e3e0f226c, author codex. Verified four-file PR scope only: new manual .forgejo/workflows/external-dns.yml, new release/external_dns.py and five-case test_external_dns.py, plus adding this test to credential-free external-preflight-ci.yml while preserving the existing preflight and external Git source tests. Workflow dispatch-only on exact public xtrape-project/linux-ops-widget-nodejs main, Node24 Bookworm, pinned checkout without credentials persistence, no registry/external secret injection, 3min job timeout. DNS program accepts only literal gitee.com and gitlab.com and system/tcp profiles, uses Python socket.getaddrinfo in an isolated subprocess (one 12-second bound for each of four queries), and sanitizes child environment of GIT_* and variable names containing TOKEN/PASSWORD/SECRET; never prints addresses, resolver settings, stderr, exception text or sensitive env. TCP profile only adds 'use-vc timeout:2 attempts:1' to CHILD RES_OPTIONS, does not switch nameserver or alter parent environment/runner config; system profile alone decides readiness. Child output limited to known result classes, invalid/oversize/timeout safely classified; no HTTP requests, Git writes, repo/admin operations or /user calls. Tests cover fixed input refusal/no subprocess, same configured resolver/no credentials, poisoned output redaction, timeout redaction, and TCP failure not overriding successful system resolver. This is a bounded diagnostic, not a DNS repair or proof of infrastructure cause. Earlier runner EAI_AGAIN and Node ESERVFAIL remain until an authorized real workflow runs. Author reports 5 new unit cases, 37 combined external tests and Node24 frozen product 348 assertions PASS, but reviewer has not independently run CI or DNS from runner. New current-HEAD server CI and normal merge gates remain necessary. No merge, dispatch, external publication, permissions or secrets change, or Host2 deployment performed.

EXTERNAL-FIXED-DNS-TRANSPORT-20261019 — independent non-author formal **APPROVED** review bound to exact HEAD 7648036189ff26313bf5ec0f6de29c5cb355eb8e and base 3e3e0f226c7807cc551bbdc4431aae662aa1b013, author codex. Verified four-file PR scope only: new manual .forgejo/workflows/external-dns.yml, new release/external_dns.py and five-case test_external_dns.py, plus adding this test to credential-free external-preflight-ci.yml while preserving the existing preflight and external Git source tests. Workflow dispatch-only on exact public xtrape-project/linux-ops-widget-nodejs main, Node24 Bookworm, pinned checkout without credentials persistence, no registry/external secret injection, 3min job timeout. DNS program accepts only literal gitee.com and gitlab.com and system/tcp profiles, uses Python socket.getaddrinfo in an isolated subprocess (one 12-second bound for each of four queries), and sanitizes child environment of GIT_* and variable names containing TOKEN/PASSWORD/SECRET; never prints addresses, resolver settings, stderr, exception text or sensitive env. TCP profile only adds 'use-vc timeout:2 attempts:1' to CHILD RES_OPTIONS, does not switch nameserver or alter parent environment/runner config; system profile alone decides readiness. Child output limited to known result classes, invalid/oversize/timeout safely classified; no HTTP requests, Git writes, repo/admin operations or /user calls. Tests cover fixed input refusal/no subprocess, same configured resolver/no credentials, poisoned output redaction, timeout redaction, and TCP failure not overriding successful system resolver. This is a bounded diagnostic, not a DNS repair or proof of infrastructure cause. Earlier runner EAI_AGAIN and Node ESERVFAIL remain until an authorized real workflow runs. Author reports 5 new unit cases, 37 combined external tests and Node24 frozen product 348 assertions PASS, but reviewer has not independently run CI or DNS from runner. New current-HEAD server CI and normal merge gates remain necessary. No merge, dispatch, external publication, permissions or secrets change, or Host2 deployment performed.
Author
Contributor

Author Merge Readiness Confirmation — codex. Exact HEAD 7648036189, base 3e3e0f226c. Official non-author review5413 current, all five current CI contexts success, no blocker, mergeable and user_can_merge verified.5 DNS/37 external tests and Node24 product348 PASS. Diagnostic only: no external secret, resolver or permission changes; one separate history-checked fixed DNS read after guarded merge.

Author Merge Readiness Confirmation — codex. Exact HEAD 7648036189ff26313bf5ec0f6de29c5cb355eb8e, base 3e3e0f226c7807cc551bbdc4431aae662aa1b013. Official non-author review5413 current, all five current CI contexts success, no blocker, mergeable and user_can_merge verified.5 DNS/37 external tests and Node24 product348 PASS. Diagnostic only: no external secret, resolver or permission changes; one separate history-checked fixed DNS read after guarded merge.
codex merged commit 53e499a1d0 into main 2026-10-19 19:02:05 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
xtrape-project/linux-ops-widget-nodejs!11
No description provided.