Add QA Smoke Kit sample to com.beamable#4719
Open
allister-beamable wants to merge 1 commit into
Open
Conversation
Ship an importable internal smoke-test harness inside the SDK package so it stays in sync with the code it tests and installs in one click via the Beam Samples window. Includes SmokeRunner (BeamContext / Accounts.OnReady readiness), SmokeRetryWatcher (retry-buffer overflow watcher), SmokeReferenceContent (smoke_ref MustReferenceContent test type), a pre-wired QASmokeKit scene, a generic README procedure, the package.json samples registration, and a changelog entry. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
Lightbeam link |
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.
Adds an importable internal smoke-test harness as a new sample in
com.beamable. It is co-located with the SDK so it tracks API changes: when the SDK changes, the harness imported alongside it stays in sync. It installs in one click via the Beam Samples window.What's included
Samples/QASmokeKit/:SmokeRunner.cs— happy-path readiness harness; awaitsBeamContext.Default.OnReadyandAccounts.OnReady, logs[SMOKE] PASS/FAILto the Editor log.SmokeRetryWatcher.cs— passive watcher that flags anIndexOutOfRangeException/ overflow duringBeamContextinit (retry-buffer fault check).SmokeReferenceContent.cs— asmoke_refcontent type giving theMustReferenceContentpicker a top-level test surface.QASmokeKit.unity— one GameObject named "QA Smoke Runner" withSmokeRunnerattached; open and press Play.Accounts.OnReadystale-token resilience), recipe B (BeamContextretry-buffer), theMustReferenceContentpicker test, and how to read[SMOKE]results from the Editor log.samplesarray inpackage.json;docsUrlomitted (optional, avoids a dead link) perLibraryService.cs. Changelog entry added under[5.1.1]> Added.Verification notes
jqparsespackage.json; all six new asset GUIDs are unique; the scene's MonoBehaviourm_ScriptreferencesSmokeRunner.cs.meta's GUID..metafiles are hand-authored to match the LightBeam samples' format. Worth opening once in Unity during review to confirm the scene loads cleanly and the sample appears/imports correctly from the Beam Samples window.🤖 Generated with Claude Code