Skip to content

fix: update asset snapshots and fix useDevDeploy skip test#921

Merged
tejaskash merged 1 commit intofeat/harness-implementationfrom
fix/update-snapshots-and-test
Apr 22, 2026
Merged

fix: update asset snapshots and fix useDevDeploy skip test#921
tejaskash merged 1 commit intofeat/harness-implementationfrom
fix/update-snapshots-and-test

Conversation

@notgitika
Copy link
Copy Markdown
Contributor

Summary

  • Update 3 asset snapshots that drifted from the harness-implementation branch content:
    • File listing (new harness files added)
    • cdk/bin/cdk.ts
    • cdk/lib/cdk-stack.ts
  • Fix useDevDeploy test: when skip=true, isComplete is correctly true (skipped = done), not false as the test asserted

Root cause

Asset snapshots were not regenerated after harness-related changes to CDK templates and file structure. The useDevDeploy test had a stale assertion — the hook returns isComplete = skip || deployDone, so skip=true means immediately complete.

Test plan

  • All 95 tests pass (90 snapshot + 5 useDevDeploy)
  • Pre-commit hooks pass (eslint, prettier, secretlint, typecheck)

- Update 3 asset snapshots (file listing, cdk/bin/cdk.ts, cdk/lib/cdk-stack.ts)
  to match current harness-implementation branch content
- Fix useDevDeploy test: when skip=true, isComplete is correctly true
  (skipped means done), not false as the test previously asserted
Copy link
Copy Markdown
Contributor

@tejaskash tejaskash left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GLTM

@tejaskash tejaskash merged commit 1bde086 into feat/harness-implementation Apr 22, 2026
@tejaskash tejaskash deleted the fix/update-snapshots-and-test branch April 22, 2026 18:24
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.

2 participants