Repository navigation
4.2.0 - #195
Merged
Merged
4.2.0#195
Conversation
New projects ignore .raider/schedules/ from the start (web and mobile: the gem schedules both). README and RELEASE no longer say the desktop runs a schedule command or marks its runs busy; that arrives with the desktop's schedules release. RELEASE heading is plain 4.2.0, as 4.0.x.
release.yml runs spec/integration on its own, where nothing else loads ScheduleStore. The run lock comment no longer says the desktop already writes running.json.
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.
Version 4.2.0, ready to release with
release.yml(inputversion: 4.2.0) once merged.Changes
lib/version4.2.0. New projects pingem 'ruby_raider', '~> 4.2'(derived from the version).git_ignore.tt:.raider/schedules/for every new project, web and mobile (the gem schedules both). It is the exact lineraider schedule addlooks for, soaddwon't append a second one. Content spec checks it againstScheduleStore::GITIGNORE_LINE; the mobile spec now expects that line and no other.raiderline.raider schedule listinstead..raider/schedules/running.json, which it doesn't yet. Both now say "anotherraider schedule runin the project, or any run that holds.raider/schedules/running.json".### 4.2.0, like 4.0.0 and 4.0.1. The v4.1.0 tag shipped with "(unreleased)", and its date was added later. This way the tagged text is right on release day.Version gate on projects locked to 4.1
Bumping to 4.2.0 activates #193's gate.
raider schedule addrefuses a project whoseGemfile.lockresolves ruby_raider below 4.2.0:addis gated.list,removeandrunare not.raideroutside its bundle, because its own bundle has noraider schedule.raider schedulecommand, a refusedaddincluded, first runs the 4.1 cleanup when.raider/flows/exists (spec §7). So a 4.2raiderpointed at a 4.1-locked project removes that project's 4.1 schedules, even though its bundle could still run them. This is intended: the 4.1 schedules go on the first schedule command.Verification
Full rspec (
.rspecexcludesbrowser, includes spec/utilities and spec/generators): 2241 examples, 0 failures, 10 pending. The release.yml commands on their own:rspec spec/generators/312/0 andrspec spec/integration/ --tag ~slow874/0.rubocop: 0 offenses. reek: 0 warnings. Steep: no type errors.
gem build: ruby_raider-4.2.0.gem, version 4.2.0 in the metadata. Its file list has no flow code; the only paths containing "flow" are.github/workflows/*.The built .gem was installed into a scratch GEM_HOME (rbenv 3.4.12).
raider newfrom that install shows.raider/schedules/in.gitignorefor a Selenium project (with.raider/auth/) and an Android project (alone).launchd before and after: only
dev.rubyraider.flow.1255a248a3.tredssd, plist sha256 unchanged (7dad00c1…). No entry was added or removed.CI: 17/17 green at 5553be0 after one rerun. On the first run, Runtime (Ruby 3.4, selenium 4.44.0) failed 5 examples in
spec/runtime/browser/actionability_script_browser_spec.rb, all withNet::ReadTimeoutondriver.navigate.to; the rerun passed. This branch changes no runtime code, and release.yml doesn't runspec/runtime/browser, so this flake can't fail the release.Review
One whole-branch Opus review. It found two blockers, both fixed in 5553be0:
gemfile_content_spechard-coded the~> 4.1pin.common_content_specusedScheduleStorewithout requiring it. The full suite hid this by load order, but release.yml's integration-only run would have failed.It also found two minors:
run_lock.rbcomment said the desktop already writesrunning.json.Follow-ups (not in this PR)
raideroutside the bundle will refuseaddin a project locked to 4.2.0, though 4.2.0 hasraider schedule run. The floor should probably be a constant (4.2.0).