Skip to content

feat: seed the sandbox bug-fix story (WW-133) - #569

Closed
stefan-ernst wants to merge 2 commits into
mainfrom
feat/ww133-sandbox-sample-story
Closed

stefan-ernst wants to merge 2 commits into
mainfrom
feat/ww133-sandbox-sample-story

Conversation

@stefan-ernst

Copy link
Copy Markdown
Contributor

What

Adds one inspectable bug-fix story to the demo dataset, on top of the existing workspaces, for the public sandbox (WW-133).

  • New Storefront workspace (STOR): epic, a customer request (Charged full price after a payment retry), and the engineering bug (Payment retry drops the applied discount) as its child.
  • A regression test case and two recorded runs (pre-fix failure, post-fix pass) linked to the bug with the system Tests link type.
  • A public customer-visible comment on the request and an internal note on the bug.
  • Explicit item_type support in createWorkItem so a dataset can place a Bug/Story/Epic precisely instead of relying on the depth heuristic.

Sample repository link

A new optional --sample-repo <url> flag makes the generator write the SCM provider, workspace connection, linked repository, and item links for the public sample repository (Windshiftapp/sample-checkout) through the normal item SCM-link API. No GitHub credential is stored and no sync runs; this is trusted-provisioning replay. The sandbox passes the flag; partner demos omit it and get the workspace without the links.

The generator re-reads the links over the API before exiting, so a sandbox reset fails loudly if the story is incomplete.

Verification

Ran the generator end-to-end against a fresh local instance with --sample-repo: story seeded and Verified the sample story links passed. SQLite inspection confirmed the item hierarchy, SCM links, test link, test results, and comment visibility.

Add a Storefront workspace on top of the stock demo set with one
inspectable story: a customer request, the engineering bug, a regression
test with a recorded run, and a customer-visible update.

The generator also accepts --sample-repo. When set (the sandbox only) it
writes SCM provider, connection, repository, and item links for the public
sample repository through the normal API, with no GitHub credential and no
sync, then verifies the links before exiting.
@github-actions

Copy link
Copy Markdown


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


Stefan Ernst seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@stefan-ernst stefan-ernst changed the title feat(demo): seed the sandbox bug-fix story (WW-133) feat: seed the sandbox bug-fix story (WW-133) Nov 24, 2026
A seed that runs from the demo host is fast enough to trip the app's v2
rate limiter (100 req/s, burst 200) and, on the sandbox, the operator
request budget (600/min). The added story pushes the seed past the burst,
so the tail of the seed fails with 429s.

Add an opt-in --throttle-ms delay between requests. The demo host passes
110ms, which keeps the seed inside both limits.
@stefan-ernst
stefan-ernst deleted the feat/ww133-sandbox-sample-story branch November 24, 2026 20:57
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.

1 participant