Repository navigation
Commit 4614e6e
fix: [#309] use www.altimate.sh/install — apex altimate.sh not routed to Amplify
After AltimateAI/altimate-code-website#22 merged and deployed, the
install endpoint serves correctly from www.altimate.sh/install but the
apex altimate.sh/install still returns HTTP 404 from a non-Amplify
origin (ip-10-124-5-249.us-west-2.compute.internal, no x-amz-cf-id
headers). The apex DNS / CloudFront alias is a separate infra fix.
This is a same-day workaround: switch all install endpoint references
from altimate.sh/install to www.altimate.sh/install. Once the apex
routing is fixed, drop the `www.` prefix — the test assertions use a
`(www\.)?` regex so they keep passing across both forms.
Also adds an altimate_change marker block around the modified line in
`packages/opencode/src/installation/index.ts:upgradeCurl()`. The line
sits in upstream-shared territory and the marker guard flagged it as
unmarked custom code; wrap it now so future upstream merges see the
intent and don't auto-overwrite.
Files touched:
• install
• README.md
• docs/docs/reference/troubleshooting.md
• packages/opencode/src/installation/index.ts (+ altimate_change markers)
• packages/opencode/test/install/upgrade-method.test.ts
(assertion → /https:\/\/(www\.)?altimate\.sh\/install/)
• packages/opencode/test/skill/release-v0.7.1-binary-adversarial.test.ts
(README assertion → /curl -fsSL https:\/\/(www\.)?altimate\.sh\/install \| bash/)
Verified end-to-end:
• `curl -fsSL https://www.altimate.sh/install` → HTTP 200,
Content-Type text/x-shellscript, body identical to
raw.githubusercontent.com/.../main/install (diff returns 0).
• Full sandboxed install: `HOME=$(mktemp -d) bash <(curl ... www.altimate.sh)`
completes; installed binary returns `0.7.1`.
• Apex confirmed broken: `curl -sI https://altimate.sh/install` → 404
from `ip-10-124-5-249.us-west-2.compute.internal` (not Amplify).
176/176 tests pass across the touched suites. Marker guard passes.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 0f24653 commit 4614e6e
6 files changed
Lines changed: 20 additions & 9 deletions
File tree
- docs/docs/reference
- packages/opencode
- src/installation
- test
- install
- skill
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
| 45 | + | |
41 | 46 | | |
42 | 47 | | |
43 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
285 | 287 | | |
286 | 288 | | |
287 | 289 | | |
| |||
0 commit comments