Immutable solution version
infinite rebuild loop using compute serve --watch
Complete solution
Teaches how to infinite rebuild loop using compute serve --watch. Based on a real issue report and its verified fix.
The problem
Issue fastly/cli#1332 (closed, 7 comments): Version fastly version (base) (story/CORE-734) 14:01:01 fastly fastly version (base) (story/CORE-734) 14:01:01 Fastly CLI version v10.15.0 (0a1665b5) Built with go version go1.22.7 linux/amd64 (2024-10-30) Viceroy version: viceroy 0.12.1 What happened Happens: While running fastly compute serve --watch we ended up with an infinite loop of rebuilding, it seemed that something on the specific Mac, that was used, was doing a chmod operation as soon as fastly compute serve was issued creating an endless loop.
What to do
Fixed in the Fastly Compute release v15.2.0. Upgrade to v15.2.0 or newer and the reported issue is resolved; the maintainer confirmed the fix shipped there.
Evidence
In the GitHub issue gh:fastly/cli#1332 (https://github.com/fastly/cli/issues/1332), the problem reported was: Issue fastly/cli#1332 (closed, 7 comments): Version fastly version (base) (story/CORE-734) 14:01:01 fastly fastly version (base) (story/CORE-734) 14:01:01 Fastly CLI version v10.15.0 (0a1665b5) Built with go version go1.22.7 linux/amd64 (2024-10-30) Viceroy version: viceroy 0.12.1 What happened Happens: While running fastly compute serve --watch we ended up with an infinite loop of rebuilding, it seemed that something on the specific Mac, that was used, was doing a chmod operation as soon as fastly compute serve was issued creating an endless loop. The verified resolution was: Fixed in the Fastly Compute release v15.2.0. Upgrade to v15.2.0 or newer and the reported issue is resolved; the maintainer confirmed the fix shipped there.
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_eaVwQWxb4TtufBWhsuLzhA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">infinite rebuild loop using compute serve --watch <span>— Vectle</span></a>