Skip to content

feat(scenarios): add firmware-update-failure scenario - #147

Open
YANGCHUNHONG3000 wants to merge 5 commits into
ocpp-debugkit:mainfrom
YANGCHUNHONG3000:scenario/firmware-update-failure
Open

feat(scenarios): add firmware-update-failure scenario#147
YANGCHUNHONG3000 wants to merge 5 commits into
ocpp-debugkit:mainfrom
YANGCHUNHONG3000:scenario/firmware-update-failure

Conversation

@YANGCHUNHONG3000

Copy link
Copy Markdown
Contributor

Summary

Add irmware-update-failure scenario - the failing counterpart to #133.
Station boots, reports firmware Downloading, then InstallFailed within minutes.

Changes

File Change
packages/toolkit/src/scenarios/scenarios/firmware-update-failure.ts New scenario file
packages/toolkit/src/scenarios/index.ts Register scenario + add to registry
packages/toolkit/src/scenarios/index.test.ts Add tests + update count to 17
README.md Update scenario count to 17
packages/toolkit/README.md Update scenario count to 17
ests/external-fixture/test.mjs Update scenario count to 17
.changeset/*.md Minor bump for @ocpp-debugkit/toolkit

Verification

  • Station ID: CS-SYNTHETIC-019
  • Expected failure: FIRMWARE_UPDATE_FAILURE
  • Trace fits within 5 minutes (no heartbeat rule interference)

@YANGCHUNHONG3000
YANGCHUNHONG3000 force-pushed the scenario/firmware-update-failure branch from d16d48c to 265b597 Compare July 29, 2026 04:54
@YANGCHUNHONG3000
YANGCHUNHONG3000 force-pushed the scenario/firmware-update-failure branch from 265b597 to 6476b8e Compare July 29, 2026 04:56
@YANGCHUNHONG3000

Copy link
Copy Markdown
Contributor Author

Apologies for submitting with a minor changeset instead of patch — just caught your message from yesterday. I've amended the commit to fix it. Thanks for the guidance, and for assigning #138 in the first place. PR should be good now.

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