Repository navigation
feat: seed the sandbox bug-fix story (WW-133) - #569
Closed
stefan-ernst wants to merge 2 commits into
Closed
stefan-ernst wants to merge 2 commits into
stefan-ernst wants to merge 2 commits into
Conversation
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.
|
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. |
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds one inspectable bug-fix story to the demo dataset, on top of the existing workspaces, for the public sandbox (WW-133).
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.Testslink type.item_typesupport increateWorkItemso 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 andVerified the sample story linkspassed. SQLite inspection confirmed the item hierarchy, SCM links, test link, test results, and comment visibility.