Repository navigation
Move dubna: Firefox add-ons only, with its check, its browser test and Chromium's extension API tests - #153
Merged
Merged
Conversation
…s extension API tests firefox_gates.py runs in the pre-commit hook and the release workflow. test_firefox_add_ons_only.py runs one probe of each kind of mark in a Chrome extension, a Firefox add-on and a .crx with a gecko key. chromium_tests.py runs Chromium's own extension API tests as Chrome extensions; the release stops on a test that passes in stock Helium and fails here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…the baseline, a failing one stops the release until it is fixed or has a reason tabs/zoom's testZoomOnWebTab added its tabs.onUpdated listener after the tab it waits for, and failed 3 of 5 times in stock Helium too: FIXES moves the listener first in the test's copy. --baseline runs each test three times and fails on what passed only some of the time; a test that fails in oganesson stops the release until it is fixed or its entry has a reason. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Chrome Web Store extensions broke when climb steps changed shared extension code (Violentmonkey, #152), because nothing checked that a Firefox behaviour stayed with Firefox add-ons. This moves dubna to zakius/dubna#240, which makes everything the climb adds Firefox add-ons' alone, and runs its checks here:
dubna/tools/firefox_gates.pyruns in the pre-commit hook and as the release workflow's first step. It needs no browser and takes about a second.tools/e2e/test_firefox_add_ons_only.py, among the browser tests, runs one probe of each kind of mark in three extensions: a Chrome extension, a Firefox add-on, and a.crxwith a gecko key from the Chrome Web Store's update server. The.crxhas to see Chromium.tools/e2e/chromium_tests.pyruns Chromium's own extension API tests (api_test/of the namespaces the climb touches, athelium/chromium_version.txt) as Chrome extensions, with--test-typeand a shim that records eachrunTests()test. Chromium's tests lean on its C++ fixture, so--baselineruns them once in stock Helium of the same Chromium and writes dubna'schromium-tests.json. A normal run checks that what passed there passes here, and exits 3 on a drop, which stops the release until the test is fixed or its entry in the list has a"reason". The baseline runs each test three times and fails on one that passes only some of the time:FIXESedits such a race out of the test's copy, as fortabs/zoom, whose listener came after the tab it waited for. The release workflow runs the full list after the Firefox tests: 1.4 minutes. During a climb run,--onlyruns single tests.Tested on a release build of this branch:
test_firefox_add_ons_onlypasses 3 of 3.check-patchesapplies every patch with zero fuzz.Not run: tennessine's patch check (see zakius/dubna#240).
Created with Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code