Skip to content

test(ait-bundle): web-framework 3.0-beta forward-compat verification#186

Merged
DaveDev42 merged 1 commit into
mainfrom
sdk-3.0-verify
Jun 1, 2026
Merged

test(ait-bundle): web-framework 3.0-beta forward-compat verification#186
DaveDev42 merged 1 commit into
mainfrom
sdk-3.0-verify

Conversation

@DaveDev42

Copy link
Copy Markdown
Contributor

검증 결과

3.0-beta 번들이 코드 변경 없이 정상 파싱된다. ait-bundle.ts의 hand-rolled 파서는 @apps-in-toss/ait-format@^1.0.0이 생성한 바이너리 레이아웃을 그대로 처리한다.

검증 방법

/tmp/sdk30-scratch에 scratch 프로젝트를 만들고 3.0-beta로 실 번들을 빌드:

npx @apps-in-toss/web-framework@3.0.0-beta.9d42c0b ait build

빌드 출력:

◆  앱인토스 빌드가 완료되었습니다. (sdk30-test-app.ait)
│
●  deploymentId: 019e81fa-836a-7555-8d70-4b340dee6fa8

파서 라운드트립 확인 (deploymentIdFromBundleBytes로 직접 읽기):

format: ait
deploymentId: 019e81fa-836a-7555-8d70-4b340dee6fa8   ← ait build 출력과 일치

변경 내용

  • src/config/fixtures/sdk30-test-app.ait — 3.0-beta로 빌드한 실 번들 (1.9 kB)
  • src/config/ait-bundle.test.ts — 해당 픽스처를 읽어 deploymentId 라운드트립을 핀하는 regression guard 추가

src/ 코드 변경 없음. pnpm test / pnpm lint / pnpm typecheck 모두 green.

Closes #185

…forward-compat guard

Builds a real .ait with @apps-in-toss/web-framework@3.0.0-beta.9d42c0b in a
scratch dir, pins the deploymentId round-trip as a regression test. Parser
passes with zero code change — ait-format 1.0 binary layout is identical to
what the hand-rolled parser in ait-bundle.ts expects.
@DaveDev42 DaveDev42 merged commit e2686a1 into main Jun 1, 2026
1 check passed
@DaveDev42 DaveDev42 deleted the sdk-3.0-verify branch June 1, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

web-framework 3.0-built .ait 파싱 회귀 재검증

1 participant