Skip to content

DTL (Test > Levelbuilder: 3890c15c) - #51407

Merged
bethanyaconnor merged 69 commits into
levelbuilderfrom
dtl_candidate_3890c15c
Apr 19, 2023
Merged

DTL (Test > Levelbuilder: 3890c15c)#51407
bethanyaconnor merged 69 commits into
levelbuilderfrom
dtl_candidate_3890c15c

Conversation

@bethanyaconnor

Copy link
Copy Markdown
Contributor

No description provided.

Hamms and others added 30 commits March 22, 2023 13:43
Specifically to pick up ruby/rake#211, which is required for Rails 6.1 support; without it, we get `undefined method ``with_application' for Rake:Module (NoMethodError)` when trying to run any rails script.

Specifically, I implemented this by running `bundle update rake scss_lint`, to also pick up the `scss_lint` change "Relax gem dependency constraints to allow rake 12.x"

- https://github.com/sds/scss-lint/blob/master/CHANGELOG.md#0510
- https://github.com/ruby/rake/releases/tag/v12.2.0

Tested locally that this resolves for me the problems with running rake tasks on Rails 6.1

Relying on existing tests to verify that this does not otherwise result in any change to functionality.
Add explicit step in setup.md to exclude staging, test, production
and levelbuilder groups from Gemfile.
Currently listed as a response to an error message, a little buried.
Promoted to an early step so request is made early and other work can continue while waiting.
For consistency, some commands were prefixed, some weren't. All need it.
Include link to initial seeding required for dash tests.
...with how to set up Chrome on Windows for apps tests
To pick up support for Ruby 2.8+, in preparation of an update to Ruby 3.0

https://github.com/jeremyevans/sequel/blob/master/CHANGELOG#L503
Specifically target 5.29 to make sure we pick up support for Ruby 3.0, but specifically do so using a pessimistic version constraint so we pick up all other 5.x fixes, too.
Specifically `~> 0.14.0` to pick up support for Ruby 3.0

Breaking changes in 0.13.x were mostly about deleting functionality deprecated in 0.12. The only breaking change in 0.14.x is removal of support for plugin autoloading. I'm not aware of anywhere we're actually using `pry` in our codebase, however; I believe we just make it available so developers can use it in their local debugging without ever committing anything to the codebase. As such, I don't expect we'll be directly affected by any of these changes.

- https://github.com/pry/pry/blob/master/CHANGELOG.md#v0140-february-8-2021
In preparation for an update to FactoryBot 5.x (and beyond), which deprecated static attributes in favor of dynamic attributes. Update

Update applied automatically by temporarily configuring my local environment to enable the `FactoryBot/AttributeDefinedStatically` lint rule:

```diff
diff --git a/.rubocop.yml b/.rubocop.yml
index 041a14a..594b15160a3 100644
--- a/.rubocop.yml
+++ b/.rubocop.yml
@@ -6,6 +6,7 @@ inherit_from:
 require:
   - rubocop-performance
   - rubocop-rails
+  - rubocop-rspec
   - rubocop-rails-accessibility
   - './tools/customLinters/rubocop_only_allowed_characters.rb'

@@ -74,6 +75,10 @@ Style/Semicolon:
 Style/WordArray:
   MinSize: 5

+RSpec/FactoryBot/AttributeDefinedStatically:
+  Include:
+    - 'dashboard/test/factories/*.rb'
+
 # END CODE.ORG OVERRIDES

 # BEGIN BLOCKLIST: Below are rules we don't plan to enable in the forseeable
diff --git a/Gemfile b/Gemfile
index 81ed267..917649bcb73 100644
--- a/Gemfile
+++ b/Gemfile
@@ -242,6 +242,7 @@ group :development, :staging, :levelbuilder do
   gem 'rubocop-performance', require: false
   gem 'rubocop-rails', require: false
   gem 'rubocop-rails-accessibility', require: false
+  gem 'rubocop-rspec', require: false
   gem 'scss_lint', require: false
 end
```

And then running `rubocop --require rubocop-rspec --only RSpec/FactoryBot/AttributeDefinedStatically --auto-correct dashboard/test/factories/*`. I then used `rubocop --only Layout/SpaceInsideBlockBraces --auto-correct dashboard/test/factories/*.rb` to automatically fix some white space errors, and manually edited `dashboard/test/factories/foorm_factories.rb` to fix up a few more.

- https://thoughtbot.com/blog/deprecating-static-attributes-in-factory_bot-4-11
- https://docs.rubocop.org/rubocop-rspec/cops_rspec_factorybot.html#rspecfactorybotattributedefinedstatically
Remove references to @no-ie tag
DTT (Staging > Test) [robo-dtt]
* only show for summer workshop

* update based on virtual or reminder

* remove changes to health and wellness
Hamms and others added 27 commits April 17, 2023 12:43
DTT (Staging > Test) [robo-dtt]
DTT (Staging > Test) [robo-dtt]
DTT (Staging > Test) [robo-dtt]
* dashboard i18n sync

* pegasus markdown i18n sync

* etags updates

* pegasus i18n updates

* pegasus i18n markdown updates

* dashboard i18n updates - Arabic

* dashboard i18n updates - Azerbaijani

* dashboard i18n updates - Bulgarian

* dashboard i18n updates - Catalan

* dashboard i18n updates - Czech

* dashboard i18n updates - German

* dashboard i18n updates - Greek

* dashboard i18n updates - Spanish

* dashboard i18n updates - Spanish, Mexico

* dashboard i18n updates - Estonian

* dashboard i18n updates - Persian

* dashboard i18n updates - Finnish

* dashboard i18n updates - Filipino

* dashboard i18n updates - French

* dashboard i18n updates - Irish

* dashboard i18n updates - Hebrew

* dashboard i18n updates - Hindi

* dashboard i18n updates - Hungarian

* dashboard i18n updates - Armenian

* dashboard i18n updates - Indonesian

* dashboard i18n updates - Icelandic

* dashboard i18n updates - Italian

* dashboard i18n updates - Japanese

* dashboard i18n updates - Georgian

* dashboard i18n updates - Kazakh

* dashboard i18n updates - Korean

* dashboard i18n updates - Lithuanian

* dashboard i18n updates - Maori

* dashboard i18n updates - Mongolian

* dashboard i18n updates - Nepali

* dashboard i18n updates - Dutch

* dashboard i18n updates - Norwegian Nynorsk

* dashboard i18n updates - Norwegian

* dashboard i18n updates - Polish

* dashboard i18n updates - Portuguese, Brazilian

* dashboard i18n updates - Portuguese

* dashboard i18n updates - Romanian

* dashboard i18n updates - Russian

* dashboard i18n updates - Northern Sami

* dashboard i18n updates - Sinhala

* dashboard i18n updates - Slovak

* dashboard i18n updates - Slovenian

* dashboard i18n updates - Albanian

* dashboard i18n updates - Swedish

* dashboard i18n updates - Thai

* dashboard i18n updates - Turkish

* dashboard i18n updates - Ukrainian

* dashboard i18n updates - Uzbek

* dashboard i18n updates - Vietnamese

* dashboard i18n updates - Chinese Simplified

* dashboard i18n updates - Chinese Traditional

* apps i18n updates

* hoc i18n updates
* etags updates

* pegasus i18n markdown updates

* dashboard i18n updates - Spanish

* dashboard i18n updates - Filipino

* dashboard i18n updates - Italian

* dashboard i18n updates - Japanese

* dashboard i18n updates - Khmer

* dashboard i18n updates - Polish

* apps i18n updates

* hoc i18n updates
DTT (Staging > Test) [robo-dtt]
* Remove default props

* Override null value

* Do not require grade levels

* Use default argument and pass in undefined

* Add test
DTT (Staging > Test) [robo-dtt]
* jimt/SL-566 - calls _onblur when nuking p5 obj

* jimt/SL-566 - re-tooled to blur on create, not destroy

* jimt/SL-566 - added helpful comment
DTT (Staging > Test) [robo-dtt]
…ckly labs (#51066)

[Google Blockly] Add customized input/output connectors in Google Blockly labs
DTT (Staging > Test) [robo-dtt]
* initial changes

* make responsive

* add empty alt tag

* switch back to HeaderBanner

* remove unused styles
DTT (Staging > Test) [robo-dtt]
SETUP.md and TESTING.md updates for first-time success
DTT (Staging > Test) [robo-dtt]
DTT (Staging > Test) [robo-dtt]
DTS (Levelbuilder > Staging) [bethanyconnor]
DTT (Staging > Test) [robo-dtt]
@bethanyaconnor
bethanyaconnor requested a review from a team as a code owner April 19, 2023 11:10
@bethanyaconnor
bethanyaconnor merged commit 05fac58 into levelbuilder Apr 19, 2023
@bethanyaconnor
bethanyaconnor deleted the dtl_candidate_3890c15c branch April 19, 2023 11:10
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.

10 participants