<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Bayu Erich</title>
    <description>The latest articles on DEV Community by Bayu Erich (@yaelahyu).</description>
    <link>https://dev.to/yaelahyu</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F172529%2Fba7460d1-6e5e-4872-9ae4-77b9d352f04c.jpg</url>
      <title>DEV Community: Bayu Erich</title>
      <link>https://dev.to/yaelahyu</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/yaelahyu"/>
    <language>en</language>
    <item>
      <title>How I Built Macro with Kiro Specs and 31 Property-Based Test Suites</title>
      <dc:creator>Bayu Erich</dc:creator>
      <pubDate>Fri, 04 Dec 2026 17:06:11 +0000</pubDate>
      <link>https://dev.to/yaelahyu/how-i-built-macro-with-kiro-specs-and-31-property-based-test-suites-1288</link>
      <guid>https://dev.to/yaelahyu/how-i-built-macro-with-kiro-specs-and-31-property-based-test-suites-1288</guid>
      <description>&lt;p&gt;&lt;em&gt;This post is written as part of the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most teams find their breaking point during a real outage. Writing &lt;a href="https://k6.io/" rel="noopener noreferrer"&gt;Grafana k6&lt;/a&gt; load tests by hand takes time, so it is tempting to ask an LLM to generate and run them from a plain-English prompt.&lt;/p&gt;

&lt;p&gt;That creates an obvious risk: an AI agent with access to an HTTP load generator and Docker is one prompt injection away from turning into an SSRF tool or an accidental DDoS script. And on the reporting side, an LLM summarizing latency numbers can quietly invent a p95 figure that never appeared in the run.&lt;/p&gt;

&lt;p&gt;I built &lt;strong&gt;Macro&lt;/strong&gt; (&lt;a href="https://macro.my.id" rel="noopener noreferrer"&gt;macro.my.id&lt;/a&gt;, &lt;a href="https://github.com/mbayue/macro" rel="noopener noreferrer"&gt;github.com/mbayue/macro&lt;/a&gt;) around one rule: &lt;strong&gt;the model proposes, code decides.&lt;/strong&gt; The AI drafts the test plan, advises whether to continue after each stage, and explains the report. Deterministic TypeScript code enforces every target, limit, k6 script, network boundary, and measured number.&lt;/p&gt;

&lt;p&gt;Because the safety guarantees live in code boundaries rather than prompt instructions, I built Macro spec-first in Kiro instead of improvising with vibe coding.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Spec-Driven Development Mattered Here
&lt;/h2&gt;

&lt;p&gt;Before writing application routes or UI components, I wrote two specs committed at the root of the repository under &lt;a href="https://github.com/mbayue/macro/tree/main/.kiro/specs" rel="noopener noreferrer"&gt;&lt;code&gt;.kiro/specs/&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;.kiro/specs/macro/requirements.md&lt;/code&gt;&lt;/strong&gt;: 17 EARS-formatted requirements covering the Traffic Event composer, Planner Agent, Policy Gate, SHA-256 plan approval, gVisor (&lt;code&gt;runsc&lt;/code&gt;) sandbox execution, CONNECT-only egress proxy, Containment Probe, Supervisor, Capacity Report, and Number Guard.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;.kiro/specs/macro/design.md&lt;/code&gt;&lt;/strong&gt;: System architecture, API and SSE contracts, state machines, and &lt;strong&gt;25 formal correctness properties&lt;/strong&gt; traced back to those requirements.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;.kiro/specs/macro/tasks.md&lt;/code&gt;&lt;/strong&gt;: Phased implementation checklist across the Bun + TypeScript backend, Docker socket proxy, egress proxy, and frontend.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;.kiro/specs/app-react-redesign/&lt;/code&gt;&lt;/strong&gt; (&lt;code&gt;design.md&lt;/code&gt;, &lt;code&gt;inventory.md&lt;/code&gt;, &lt;code&gt;tasks.md&lt;/code&gt;): When rebuilding &lt;code&gt;/app/&lt;/code&gt; in React 19, Vite, Tailwind CSS 4, and TanStack Router, this spec documented every route (&lt;code&gt;#/&lt;/code&gt;, &lt;code&gt;#/run/&amp;lt;id&amp;gt;&lt;/code&gt;, &lt;code&gt;#/probe/&amp;lt;id&amp;gt;&lt;/code&gt;, &lt;code&gt;#/runs&lt;/code&gt;), live polling invariant, and strict CSP constraint (&lt;code&gt;no inline style= attributes&lt;/code&gt;) so the UI rewrite did not break existing behavior or shared links.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The difference from vibe coding showed up during refactoring. Whenever I tightened origin verification or reworked the React Test Studio, the specs acted as a fixed contract: a refactor could not quietly drop a Policy Gate bound, change the SHA-256 approval invariant, or render unverified numbers in the report.&lt;/p&gt;




&lt;h2&gt;
  
  
  Separating AI Proposals from Deterministic Enforcement
&lt;/h2&gt;

&lt;p&gt;Macro puts four non-AI boundaries between user input and live traffic:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Plain-English Prompt
  -&amp;gt; Planner LLM (forced tool call, untrusted input)
  -&amp;gt; Policy Gate (allowlist or verified HTTPS origin, &amp;lt;= 500 VUs, &amp;lt;= 600s, 1-6 stages)
  -&amp;gt; Approved Plan stored by SHA-256 hash (re-checked before start)
  -&amp;gt; Fixed k6 template inside gVisor (runsc) sandbox
       |-- no default route, non-root, read-only rootfs, 1 GiB RAM, 1 CPU
       +-- HTTPS CONNECT only via egress proxy (blocks private, link-local, metadata IPs)
  -&amp;gt; k6 measurements -&amp;gt; Capacity Report + Number Guard (withholds AI prose with unmeasured numbers)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On the client side, &lt;strong&gt;Test Studio&lt;/strong&gt; and &lt;strong&gt;Report Q&amp;amp;A&lt;/strong&gt; use &lt;strong&gt;Firebase AI Logic&lt;/strong&gt; (&lt;code&gt;PREFER_ON_DEVICE&lt;/code&gt; mode) with Chrome's on-device Gemini Nano when available and Cloud Gemini fallback protected by App Check, Remote Config, and Firestore rules. Guidance from &lt;code&gt;.kiro/skills/&lt;/code&gt; helped wire the Firebase AI Logic, App Check, Remote Config, and Firestore rules pieces cleanly. Even there, Report Q&amp;amp;A responses pass through the client-side Number Guard before rendering.&lt;/p&gt;




&lt;h2&gt;
  
  
  Turning 25 Design Properties into 31 &lt;code&gt;fast-check&lt;/code&gt; Test Suites
&lt;/h2&gt;

&lt;p&gt;Unit tests check the happy path and the edge cases you already thought of. For security boundaries like URL parsing, CIDR blocklists, concurrency locks, and text number extraction, hand-picked examples leave gaps.&lt;/p&gt;

&lt;p&gt;Using Kiro's design properties as the test blueprint, I built &lt;strong&gt;31 &lt;code&gt;fast-check&lt;/code&gt; property-based test (PBT) files&lt;/strong&gt; in &lt;a href="https://github.com/mbayue/macro/tree/main/test" rel="noopener noreferrer"&gt;&lt;code&gt;test/&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Property 1 (&lt;code&gt;test/plan-roundtrip.test.ts&lt;/code&gt;):&lt;/strong&gt; Runs 300+ generated plans through &lt;code&gt;parsePlan(printPlan(p))&lt;/code&gt; and checks byte-identical round-tripping, including edge cases like plan names containing triple backticks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Property 5 &amp;amp; 6 (&lt;code&gt;test/policy-model.test.ts&lt;/code&gt;):&lt;/strong&gt; Compares &lt;code&gt;src/plan/policy.ts&lt;/code&gt; against a completely independent reference checker written directly from Requirements 4.2 to 4.6, verifying the exact set of violated &lt;code&gt;(rule, path)&lt;/code&gt; pairs across random adversarial plans.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Property 10 (&lt;code&gt;test/proxy-decision.test.ts&lt;/code&gt;):&lt;/strong&gt; Tests &lt;code&gt;proxy/ip.ts&lt;/code&gt; against an independent 32-bit IPv4 / 128-bit BigInt IPv6 CIDR model covering loopback, RFC 1918, CGNAT (&lt;code&gt;100.64.0.0/10&lt;/code&gt;), and cloud metadata (&lt;code&gt;169.254.0.0/16&lt;/code&gt;) ranges so no IP literal or private address can pass the CONNECT egress proxy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Property 20 (&lt;code&gt;test/admission-concurrency.test.ts&lt;/code&gt;):&lt;/strong&gt; Fires 2 to 20 concurrent start requests across &lt;code&gt;/runs&lt;/code&gt;, &lt;code&gt;/approve&lt;/code&gt;, and &lt;code&gt;/probe&lt;/code&gt; with randomized delays to prove at most one active run can start at once.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Property 21 to 23 (&lt;code&gt;test/number-guard.test.ts&lt;/code&gt;):&lt;/strong&gt; Generates formatted numbers (integers, fixed decimals, comma-grouped numbers) alongside letter-prefixed technical tokens (&lt;code&gt;p95&lt;/code&gt;, &lt;code&gt;v1&lt;/code&gt;, &lt;code&gt;k6&lt;/code&gt;, &lt;code&gt;v1.2&lt;/code&gt;) to verify &lt;code&gt;guardText&lt;/code&gt; rejects any unmeasured number without false positives on route or version identifiers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Alongside the fast unit and PBT suite (&lt;code&gt;bun test&lt;/code&gt;), &lt;code&gt;test/vm/&lt;/code&gt; tests real Docker and gVisor container execution: k6 stages, egress blocking, OOM enforcement, timeouts, and the 5-part Containment Probe.&lt;/p&gt;




&lt;h2&gt;
  
  
  Measured Output from the Live Deployment
&lt;/h2&gt;

&lt;p&gt;On the live deployment against the isolated demo shop (&lt;code&gt;yue.macro.my.id&lt;/code&gt;), a 4-stage run (25, 50, 100, and 200 VUs) measured safe capacity at &lt;strong&gt;100 VUs&lt;/strong&gt;. At &lt;strong&gt;200 VUs&lt;/strong&gt;, &lt;code&gt;store_home&lt;/code&gt; was the first route to degrade at &lt;strong&gt;p95 1,611 ms&lt;/strong&gt; against the &lt;strong&gt;1,500 ms&lt;/strong&gt; stop threshold.&lt;/p&gt;

&lt;p&gt;You can try it directly without signing in (using the Demo Target or the 5-check Containment Probe), or sign in with GitHub, Google, or Magic Link to verify an HTTPS domain you own via DNS TXT, &lt;code&gt;/.well-known/&lt;/code&gt;, or Domain Connect:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live app:&lt;/strong&gt; &lt;a href="https://macro.my.id" rel="noopener noreferrer"&gt;https://macro.my.id&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub (MIT + &lt;code&gt;.kiro/&lt;/code&gt; specs):&lt;/strong&gt; &lt;a href="https://github.com/mbayue/macro" rel="noopener noreferrer"&gt;https://github.com/mbayue/macro&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Demo video (2m 33s):&lt;/strong&gt; &lt;a href="https://youtu.be/z1wPeOaswhY" rel="noopener noreferrer"&gt;https://youtu.be/z1wPeOaswhY&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>kiroween</category>
      <category>kiro</category>
      <category>typescript</category>
      <category>testing</category>
    </item>
    <item>
      <title>A Technical Review of Tencent EdgeOne Makers</title>
      <dc:creator>Bayu Erich</dc:creator>
      <pubDate>Tue, 18 Aug 2026 08:44:56 +0000</pubDate>
      <link>https://dev.to/yaelahyu/a-technical-review-of-tencent-edgeone-makers-471k</link>
      <guid>https://dev.to/yaelahyu/a-technical-review-of-tencent-edgeone-makers-471k</guid>
      <description>&lt;p&gt;I came across Tencent EdgeOne Makers through the DevHandal 2026 Batch 2 program, a collaboration between CODEPOLITAN and Tencent EdgeOne. Most of my deployments so far have been on shared hosting or a VPS, so the pitch caught my attention: full-stack hosting, serverless functions, and native AI support running on a global edge network. Instead of just reading about it, I migrated a real project. This review is based on what that migration actually looked like.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;EdgeOne Makers is a web and agent development and deployment platform built on Tencent EdgeOne infrastructure. It is the renamed, upgraded version of EdgeOne Pages. The old product logic and features stay the same, but the platform now adds native support for AI agents on top of the full-stack web capabilities.&lt;/p&gt;

&lt;p&gt;It covers three things: frontend pages (static sites and SPAs), dynamic APIs via serverless functions at the edge or in the cloud, and AI agents with a runtime, sandbox, conversational memory, and model gateway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Strengths
&lt;/h2&gt;

&lt;p&gt;The deployment pipeline is modern. You can connect a Git repository, use the CLI, the MCP server, or an IDE plugin, and deployment becomes automated. Continuous delivery from a GitHub Actions workflow is supported out of the box.&lt;/p&gt;

&lt;p&gt;Speed is the other big draw. Static assets and dynamic responses both go through the EdgeOne global edge network with caching, and it shows in load times.&lt;/p&gt;

&lt;p&gt;The serverless functions are the low-effort part. You skip server maintenance and capacity planning entirely, and scaling happens on its own based on workload.&lt;/p&gt;

&lt;p&gt;Framework support is the most pleasant surprise. Next.js, Nuxt, Astro, SvelteKit, React Router, Vite, React, Vue. The platform detects the framework and builds it without a config file on your end.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I deployed: a full-stack app with Node.js Cloud Functions
&lt;/h2&gt;

&lt;p&gt;The real test was migrating gitSdm, my GitHub repository visualizer. The frontend is a React SPA built with Vite, and the backend is a Node.js server exposing roughly 20 API endpoints: repository analysis, dependency graphs, file tree exploration, AI-powered summaries, and more. Previously it ran on a VPS. I moved it to EdgeOne Makers Cloud Functions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Handler mode and file-system routing
&lt;/h3&gt;

&lt;p&gt;Cloud Functions on EdgeOne Makers support two development modes. Handler mode is pure serverless: each file under &lt;code&gt;cloud-functions/api/&lt;/code&gt; becomes a route, and the file name determines the URL path. &lt;code&gt;cloud-functions/api/users/list.js&lt;/code&gt; maps to &lt;code&gt;/api/users/list&lt;/code&gt;. Dynamic routing works too — &lt;code&gt;[id].js&lt;/code&gt; matches one path segment, and &lt;code&gt;[[default]].js&lt;/code&gt; is a catch-all matching everything under its prefix.&lt;/p&gt;

&lt;p&gt;This is the cleanest part of the developer experience: no framework needed, no server setup, and the file tree &lt;em&gt;is&lt;/em&gt; the routing table. A handler is just a function:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// cloud-functions/api/hello.js&lt;/span&gt;
&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;onRequest&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;context&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;Response&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Hello from Node.js!&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="na"&gt;headers&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Content-Type&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;text/plain&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;context&lt;/code&gt; object gives you &lt;code&gt;params&lt;/code&gt;, &lt;code&gt;env&lt;/code&gt;, &lt;code&gt;clientIp&lt;/code&gt;, geo data, and the request. Handlers return a standard &lt;code&gt;Response&lt;/code&gt; object.&lt;/p&gt;

&lt;h3&gt;
  
  
  How I structured the migration
&lt;/h3&gt;

&lt;p&gt;The backend had ~20 endpoints, so instead of 20 loose handler files, I kept the whole server as one bundled entry. The build produced &lt;code&gt;cloud-functions/api/[[default]].js&lt;/code&gt; — a thin handler that delegates every &lt;code&gt;/api/*&lt;/code&gt; request to a bundled &lt;code&gt;bundle.js&lt;/code&gt;, which is treated by the platform as an auxiliary module (imported by the entry, not registered as its own route). One file, one catch-all, the entire Node.js server behind it.&lt;/p&gt;

&lt;p&gt;For the SPA fallback, an &lt;code&gt;edgeone.json&lt;/code&gt; rewrite rule sends unmatched paths to &lt;code&gt;/index.html&lt;/code&gt;. Environment variables (the AI provider key) come from the platform's &lt;code&gt;env&lt;/code&gt;, merged into &lt;code&gt;process.env&lt;/code&gt; at runtime. For long-running analysis calls, I set &lt;code&gt;cloudFunctions.maxDuration: 120&lt;/code&gt; — Cloud Functions allow up to 120 seconds, which the default 30 would have been too short for.&lt;/p&gt;

&lt;h3&gt;
  
  
  A build quirk worth knowing
&lt;/h3&gt;

&lt;p&gt;The most interesting lesson came from the platform's build tool. It mangles string literals that &lt;em&gt;contain code-like patterns&lt;/em&gt;. My first deploy failed with &lt;code&gt;Unterminated string literal&lt;/code&gt; at a line that looked completely innocent in source:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;line&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="nf"&gt;startsWith&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;export {&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="cm"&gt;/* ... */&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The string &lt;code&gt;"export {"&lt;/code&gt; contains an unbalanced opening brace, and the build tool's parser choked on it. The fix was to construct the brace at runtime: &lt;code&gt;String.fromCharCode(123)&lt;/code&gt; instead of a literal &lt;code&gt;{&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The second failure was sneakier. My mock-data file used template literals containing sample source code (an example &lt;code&gt;src/main.tsx&lt;/code&gt; with &lt;code&gt;import './index.css';&lt;/code&gt;). The build tool interpreted that import &lt;em&gt;inside the string&lt;/em&gt; as a real module import and failed with &lt;code&gt;Could not resolve "./index.css"&lt;/code&gt;. Re-encoding the mock contents as a base64 string fixed it — base64 contains no quotes, backticks, or braces, so the parser leaves it alone.&lt;/p&gt;

&lt;p&gt;Two practical takeaways: when deploying to EdgeOne Makers, audit your string literals for unbalanced braces, quotes, backticks, or anything that looks like an import/export statement, and prefer base64 or runtime character construction for code-shaped strings.&lt;/p&gt;

&lt;h3&gt;
  
  
  Local debugging with the CLI
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;edgeone makers dev&lt;/code&gt; runs the same build tool locally, which is how I caught both issues above before deploying. The CLI also handles project creation and deployment; for Git-connected projects, pushing to the repository triggers an auto-build and release. For one-off tests, direct folder upload worked just as well.&lt;/p&gt;

&lt;h3&gt;
  
  
  The result
&lt;/h3&gt;

&lt;p&gt;After fixing the string literal issues, the migration was painless. The frontend builds with the framework detection, the Cloud Function registered under &lt;code&gt;/api/*&lt;/code&gt;, and the live site is running at &lt;a href="https://gitsdm.edgeone.dev" rel="noopener noreferrer"&gt;gitsdm.edgeone.dev&lt;/a&gt; — HTTPS, global edge delivery, and the Node.js backend responding in the same deployment. Static assets and API responses share one project, one domain, and one deployment pipeline.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwngaqnv4r250znmdqgtk.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwngaqnv4r250znmdqgtk.png" alt="Live API response from gitsdm.edgeone.dev/api/config" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftfaylvnhmkf4izunyugh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftfaylvnhmkf4izunyugh.png" alt="gitSdm live on gitsdm.edgeone.dev" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Makers Models
&lt;/h2&gt;

&lt;p&gt;The AI features in gitSdm (repository summaries and analysis) run on Makers Models, EdgeOne Makers' unified model access service. Instead of wiring a provider SDK per vendor, the backend talks to one endpoint, &lt;code&gt;https://ai-gateway.edgeone.link/v1&lt;/code&gt;, with a single API key from the platform. The provider key never touches my code — only the gateway key does.&lt;/p&gt;

&lt;p&gt;The endpoint is compatible with the OpenAI SDK, the Anthropic SDK, and the Vercel AI SDK, plus plain HTTP clients. In gitSdm the backend uses the OpenAI-compatible interface with &lt;code&gt;MAKERS_MODELS_KEY&lt;/code&gt; and a model id like &lt;code&gt;@makers/deepseek-v4-flash&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nx"&gt;OpenAI&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;openai&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;OpenAI&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;apiKey&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;MAKERS_MODELS_KEY&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;baseURL&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://ai-gateway.edgeone.link/v1&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;completion&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;client&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;chat&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;completions&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;create&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;model&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@makers/deepseek-v4-flash&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;messages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[{&lt;/span&gt; &lt;span class="na"&gt;role&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;user&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;content&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Summarize this repository&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;}],&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To switch models you change the model parameter — no code changes. Provider keys are encrypted and hosted by the platform, and there are built-in models that work without binding your own keys. Supported providers include OpenAI, Anthropic, Google AI Studio, DeepSeek, MiniMax, Zhipu, Hunyuan and MoonShot AI.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Forncxggkzoevuzl265f0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Forncxggkzoevuzl265f0.png" alt="Makers Models provider and model list in the EdgeOne console" width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Storage and observability
&lt;/h2&gt;

&lt;p&gt;The platform also has KV and Blob storage for persistence, metric and log analysis, custom domains with free SSL certificates, custom 404 pages, and cache configuration. The Makers console provides basic log viewing for function calls, which helps trace API exceptions quickly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Verdict
&lt;/h2&gt;

&lt;p&gt;After migrating a real full-stack application with a Node.js backend, the picture is clearer than a spec sheet would be. The file-system routing made the backend migration straightforward, the single-bundle catch-all pattern kept 20 endpoints under one entry, and the auto-build pipeline shipped everything — frontend and functions — as one unit.&lt;/p&gt;

&lt;p&gt;A few caveats. The platform is still marked Beta. Pricing depends on usage, so check the pricing page before committing. And the build tool's handling of code-shaped string literals is a genuine footgun — budget some time for it if your backend carries embedded code samples or templates.&lt;/p&gt;

&lt;p&gt;For developers who want to pick up edge computing and serverless while shipping real projects, EdgeOne Makers is worth trying. It made a full-stack migration feel small, and that is the whole point. You can start on the &lt;a href="https://edgeone.ai/get-free-plan?from=marketing_banner" rel="noopener noreferrer"&gt;free plan&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>tencentedgeone</category>
      <category>edgeonemakers</category>
      <category>codepolitan</category>
      <category>edgeone</category>
    </item>
  </channel>
</rss>
