gowalk-cicd 1.0.149 → 1.0.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +3 -0
- package/action/.daemux-version +1 -1
- package/android-action/.daemux-version +1 -1
- package/backend-action/.daemux-version +1 -1
- package/backend-action/configure_vhost.py +1 -1
- package/backend-action/remote_deploy.sh +1 -0
- package/docs/BACKEND_EDGE.md +1 -0
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -252,6 +252,9 @@ node /path/to/gowalk-cicd/bin/cli.mjs
|
|
|
252
252
|
focused tests. Managed locations forward WebSocket upgrades with a domain-scoped Connection map
|
|
253
253
|
and disable response buffering; verify a real frame exchange and a first SSE event before upstream
|
|
254
254
|
completion. Preserve legacy deployments that have not opted in and existing failure phases.
|
|
255
|
+
Remote helpers support Python 3.8 and newer; avoid newer syntax and standard-library APIs.
|
|
256
|
+
Run the edge suite with `python3.8 -m unittest discover -s backend-action -p 'test_edge*.py'`;
|
|
257
|
+
CI repeats it with Python 3.8, including the real nginx checks, before publication.
|
|
255
258
|
- The Android action serves two build systems. `android_config.project_kind()`
|
|
256
259
|
is the only place that decides which; every downstream step branches on the
|
|
257
260
|
`project_kind` output rather than re-sniffing the repo. Flutter wins the tie
|
package/action/.daemux-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.150
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.150
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.150
|
|
@@ -11,7 +11,7 @@ import tempfile
|
|
|
11
11
|
def transport(text, domain):
|
|
12
12
|
variable = "$gowalk_backend_connection_" + hashlib.sha256(domain.encode()).hexdigest()[:16]
|
|
13
13
|
mapping = f"map $http_upgrade {variable} {{\n default upgrade;\n '' close;\n}}\n\n"
|
|
14
|
-
result = text.
|
|
14
|
+
result = text[len(mapping):] if text.startswith(mapping) else text
|
|
15
15
|
directives = (r"proxy_http_version", r"proxy_set_header[ \t]+Upgrade",
|
|
16
16
|
r"proxy_set_header[ \t]+Connection", r"proxy_buffering")
|
|
17
17
|
for directive in directives:
|
|
@@ -16,6 +16,7 @@ source "$DIR/select_certbot_account.sh"
|
|
|
16
16
|
source "$DIR/ensure_certificate.sh"
|
|
17
17
|
|
|
18
18
|
log() { echo "[deploy $APP] $*"; }
|
|
19
|
+
log "host $(python3 --version)"
|
|
19
20
|
|
|
20
21
|
# Refuse a missing ingress token or an older unprotected workflow before Compose changes.
|
|
21
22
|
EDGE_CONFIG="/opt/gowalk-backend-ingress/$APP/.backend-edge.json"
|
package/docs/BACKEND_EDGE.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# App-owned Cloudflare API ingress
|
|
2
2
|
|
|
3
3
|
Provision the app's Pages/Workers route and its per-app ingress token before deploying the backend.
|
|
4
|
+
The remote deployment helpers support Python 3.8 and newer; upgrading the deploy host is not required.
|
|
4
5
|
`BACKEND_API_DOMAIN` remains a distinct infrastructure hostname pointing to the deploy host; never
|
|
5
6
|
set it to a Pages/Workers hostname. Set these repository values for edge delivery:
|
|
6
7
|
|