Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bullet Train Update: 1.7.15 #35

Closed
wants to merge 40 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
0b313c5
Update all Bundler dependencies (2024-06-06) (#1516)
depfu[bot] Jun 6, 2024
f55a0bc
Update all Bundler dependencies (2024-06-07) (#1518)
depfu[bot] Jun 7, 2024
4edf74d
Update all Yarn dependencies (2024-06-08) (#1526)
depfu[bot] Jun 8, 2024
24040d2
Update all Bundler dependencies (2024-06-08) (#1527)
depfu[bot] Jun 8, 2024
efb7738
Update all Bundler dependencies (2024-06-09) (#1528)
depfu[bot] Jun 9, 2024
e158c38
Update all Bundler dependencies (2024-06-10) (#1529)
depfu[bot] Jun 10, 2024
6265c57
Update all Bundler dependencies (2024-06-11) (#1530)
depfu[bot] Jun 11, 2024
f604f27
Update all Bundler dependencies (2024-06-12) (#1531)
depfu[bot] Jun 12, 2024
dd2f857
Update all Yarn dependencies (2024-06-12) (#1532)
depfu[bot] Jun 12, 2024
f8767e2
Update all Bundler dependencies (2024-06-13) (#1533)
depfu[bot] Jun 13, 2024
6945fde
Use 'rails g super_scaffold:...' in action models tests (#1536)
jagthedrummer Jun 13, 2024
73f1e64
ActionModels test tweak for parallelization (#1537)
jagthedrummer Jun 13, 2024
2c89d70
Better & cheaper initial experience on Heroku (#1525)
jagthedrummer Jun 13, 2024
0fc6b2c
BT-Core version bump: - 1.7.12 (#1538)
jagthedrummer Jun 13, 2024
c3a113d
Update all Bundler dependencies (2024-06-14) (#1539)
depfu[bot] Jun 14, 2024
f5fc6c2
Update all Yarn dependencies (2024-06-14) (#1540)
depfu[bot] Jun 14, 2024
e26545d
Run the PartialTest on a dedicated CI node (#1541)
jagthedrummer Jun 14, 2024
d7ef990
Update all Bundler dependencies (2024-06-16) (#1544)
depfu[bot] Jun 16, 2024
86a0fe8
Update all Bundler dependencies (2024-06-17) (#1546)
depfu[bot] Jun 17, 2024
95cf2b7
Update all Bundler dependencies (2024-06-18) (#1547)
depfu[bot] Jun 18, 2024
c35493b
Update all Bundler dependencies (2024-06-19) (#1548)
depfu[bot] Jun 19, 2024
400150d
BT-Core version bump: - 1.7.13 (#1551)
jagthedrummer Jun 19, 2024
601e25a
Update all Bundler dependencies (2024-06-20) (#1553)
depfu[bot] Jun 20, 2024
377ffa3
Update all Bundler dependencies (2024-06-21) (#1558)
depfu[bot] Jun 21, 2024
2097bb3
Update all Yarn dependencies (2024-06-21) (#1557)
depfu[bot] Jun 21, 2024
2cda556
Update all Bundler dependencies (2024-06-22) (#1559)
depfu[bot] Jun 22, 2024
d996820
Update all Bundler dependencies (2024-06-23) (#1561)
depfu[bot] Jun 23, 2024
2b88fe7
Update all Bundler dependencies (2024-06-24) (#1562)
depfu[bot] Jun 24, 2024
7ddb930
BT-Core version bump: - 1.7.14 (#1564)
jagthedrummer Jun 24, 2024
3e84b99
Bump setup-node to v4 (#1565)
jagthedrummer Jun 24, 2024
d10cf86
Update all Bundler dependencies (2024-06-25) (#1567)
depfu[bot] Jun 25, 2024
ee2d778
Update all Bundler dependencies (2024-06-26) (#1569)
depfu[bot] Jun 26, 2024
93b3c9d
Update all Bundler dependencies (2024-06-28) (#1570)
depfu[bot] Jun 28, 2024
400e8a5
Update all Bundler dependencies (2024-06-29) (#1571)
depfu[bot] Jun 29, 2024
ef2f0ea
Update all Bundler dependencies (2024-06-30) (#1572)
depfu[bot] Jun 30, 2024
9e25d2b
Fix for crashes on MacOS related to ruby-pg (#1573)
jagthedrummer Jul 1, 2024
c3fe8c4
Refactor `bin/setup` into a series of independent scripts (#1568)
jagthedrummer Jul 1, 2024
f17a710
Update Node.js to version 20.15.0 (#1560)
depfu[bot] Jul 1, 2024
7373946
BT-Core version bump: - 1.7.15 (#1575)
jagthedrummer Jul 1, 2024
dcd90e6
Merge tag 'v1.7.15'
jagthedrummer Jul 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/_run_super_scaffolding_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
strategy:
fail-fast: false
matrix:
# For super scaffolding tests we need to have exactly 7 runners.
ci_runners: [TestSite, Project, 'Project::Step', Insight, 'Personality::Disposition', 'Personality::Observation', TestFile]
# For super scaffolding tests we need to have exactly 5 runners.
ci_runners: ["TestSite, Project", "Project::Step, Insight", "Personality::Disposition, Personality::Observation", "TestFile, PartialTest", Webhook]
services:
postgres:
image: postgres:11-alpine
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: Enable corepack
run: corepack enable

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: tmp/starter/.nvmrc
cache: 'yarn'
Expand All @@ -93,7 +93,7 @@ jobs:
core_dir: tmp/core

- name: asset cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
tmp/starter/public/assets
Expand Down Expand Up @@ -131,7 +131,12 @@ jobs:
CIRCLE_NODE_INDEX: ${{ strategy.job-index }}

- name: 'Run Super Scaffolding Test'
run: bin/rails test test/system/super_scaffolding/ test/controllers/webhooks/incoming/some_provider_webhooks_controller_test.rb
run: bin/rails test test/system/super_scaffolding/
working-directory: tmp/starter

- name: 'Run Super Scaffolding Webhook Test'
run: bin/rails test test/controllers/webhooks/incoming/some_provider_webhooks_controller_test.rb
if: ${{ strategy.job-index == 5 }}
working-directory: tmp/starter

- name: Test Summary
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
- name: Enable corepack
run: corepack enable

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version-file: tmp/starter/.nvmrc
cache: 'yarn'
Expand All @@ -95,7 +95,7 @@ jobs:
core_dir: tmp/core

- name: asset cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
tmp/starter/public/assets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Enable corepack
run: corepack enable

- uses: "actions/setup-node@v3"
- uses: "actions/setup-node@v4"
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.14.0
20.15.0
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ end

# We use a constant here so that we can ensure that all of the bullet_train-*
# packages are on the same version.
BULLET_TRAIN_VERSION = "1.7.11"
BULLET_TRAIN_VERSION = "1.7.15"

# Core packages.
gem "bullet_train", BULLET_TRAIN_VERSION
Expand Down
88 changes: 44 additions & 44 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ GEM
bootsnap (1.17.1)
msgpack (~> 1.2)
builder (3.2.4)
bullet_train (1.7.11)
bullet_train (1.7.15)
awesome_print
bullet_train-has_uuid
bullet_train-roles
Expand Down Expand Up @@ -159,7 +159,7 @@ GEM
unicode-emoji
valid_email
xxhash
bullet_train-api (1.7.11)
bullet_train-api (1.7.15)
bullet_train
bullet_train-super_scaffolding
colorizer
Expand All @@ -170,61 +170,61 @@ GEM
pagy_cursor
rack-cors
rails (>= 6.0.0)
bullet_train-fields (1.7.11)
bullet_train-fields (1.7.15)
chronic
cloudinary
phonelib
rails (>= 6.0.0)
bullet_train-has_uuid (1.7.11)
bullet_train-has_uuid (1.7.15)
rails (>= 6.0.0)
bullet_train-incoming_webhooks (1.7.11)
bullet_train-incoming_webhooks (1.7.15)
bullet_train
bullet_train-api
bullet_train-super_scaffolding
rails (>= 6.0.0)
bullet_train-integrations (1.7.11)
bullet_train-integrations (1.7.15)
rails (>= 6.0.0)
bullet_train-integrations-stripe (1.7.11)
bullet_train-integrations-stripe (1.7.15)
omniauth
omniauth-rails_csrf_protection
omniauth-stripe-connect
rails (>= 6.0.0)
stripe
bullet_train-obfuscates_id (1.7.11)
bullet_train-obfuscates_id (1.7.15)
hashids
rails (>= 6.0.0)
bullet_train-outgoing_webhooks (1.7.11)
bullet_train-outgoing_webhooks (1.7.15)
public_suffix
rails (>= 6.0.0)
bullet_train-roles (1.7.11)
bullet_train-roles (1.7.15)
active_hash
activesupport
cancancan
bullet_train-routes (1.0.0)
rails (>= 6.0.0)
bullet_train-scope_questions (1.7.11)
bullet_train-scope_questions (1.7.15)
rails (>= 6.0.0)
bullet_train-scope_validator (1.7.11)
bullet_train-scope_validator (1.7.15)
rails
bullet_train-sortable (1.7.11)
bullet_train-sortable (1.7.15)
rails (>= 6.0.0)
bullet_train-super_load_and_authorize_resource (1.7.11)
bullet_train-super_load_and_authorize_resource (1.7.15)
cancancan
rails (>= 6.0.0)
bullet_train-super_scaffolding (1.7.11)
bullet_train-super_scaffolding (1.7.15)
colorizer
indefinite_article
masamune-ast (~> 2.0.2)
rails (>= 6.0.0)
bullet_train-themes (1.7.11)
bullet_train-themes (1.7.15)
bullet_train-fields
nice_partials (~> 0.9)
rails (>= 6.0.0)
bullet_train-themes-light (1.7.11)
bullet_train-themes-light (1.7.15)
bullet_train-themes-tailwind_css
masamune-ast (~> 2.0.2)
rails (>= 6.0.0)
bullet_train-themes-tailwind_css (1.7.11)
bullet_train-themes-tailwind_css (1.7.15)
bullet_train-themes
rails (>= 6.0.0)
cable_ready (5.0.5)
Expand Down Expand Up @@ -252,7 +252,7 @@ GEM
capybara (>= 3.0)
ruby2_keywords
selenium-webdriver (>= 4.0)
charlock_holmes (0.7.7)
charlock_holmes (0.7.8)
choice (0.2.0)
chronic (0.10.2)
chunky_png (1.4.0)
Expand Down Expand Up @@ -294,7 +294,7 @@ GEM
railties (~> 7.0)
rotp (~> 6.0)
docile (1.4.0)
doorkeeper (5.7.0)
doorkeeper (5.7.1)
railties (>= 5)
drb (2.2.0)
ruby2_keywords
Expand All @@ -314,7 +314,7 @@ GEM
factory_bot_rails (6.2.0)
factory_bot (~> 6.2.0)
railties (>= 5.0.0)
faraday (2.9.1)
faraday (2.9.2)
faraday-net_http (>= 2.0, < 3.2)
faraday-follow_redirects (0.3.0)
faraday (>= 1, < 3)
Expand Down Expand Up @@ -363,7 +363,7 @@ GEM
jsbundling-rails (1.2.1)
railties (>= 6.0.0)
json (2.6.3)
jwt (2.8.1)
jwt (2.8.2)
base64
knapsack_pro (5.7.0)
rake
Expand Down Expand Up @@ -397,7 +397,7 @@ GEM
microscope (1.1.1)
activerecord (>= 4.1.0)
activesupport (>= 4.1.0)
mini_magick (4.12.0)
mini_magick (4.13.1)
mini_mime (1.1.5)
mini_portile2 (2.8.5)
minitest (5.20.0)
Expand Down Expand Up @@ -474,7 +474,7 @@ GEM
actionmailer (>= 3)
net-smtp
premailer (~> 1.7, >= 1.7.9)
prism (0.29.0)
prism (0.30.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
Expand Down Expand Up @@ -583,7 +583,7 @@ GEM
rubocop-ast (>= 0.4.0)
ruby-graphviz (1.2.5)
rexml
ruby-openai (7.0.1)
ruby-openai (7.1.0)
event_stream_parser (>= 0.3.0, < 2.0.0)
faraday (>= 1)
faraday-multipart (>= 1)
Expand Down Expand Up @@ -644,7 +644,7 @@ GEM
stimulus-rails (1.3.0)
railties (>= 6.0.0)
stringio (3.0.8)
stripe (11.6.0)
stripe (12.0.0)
terser (1.1.20)
execjs (>= 0.3.0, < 3)
thor (1.3.0)
Expand Down Expand Up @@ -700,24 +700,24 @@ DEPENDENCIES
avo (>= 3.1.7)
aws-sdk-s3
bootsnap
bullet_train (= 1.7.11)
bullet_train-api (= 1.7.11)
bullet_train-fields (= 1.7.11)
bullet_train-has_uuid (= 1.7.11)
bullet_train-incoming_webhooks (= 1.7.11)
bullet_train-integrations (= 1.7.11)
bullet_train-integrations-stripe (= 1.7.11)
bullet_train-obfuscates_id (= 1.7.11)
bullet_train-outgoing_webhooks (= 1.7.11)
bullet_train-roles (= 1.7.11)
bullet_train-scope_questions (= 1.7.11)
bullet_train-scope_validator (= 1.7.11)
bullet_train-sortable (= 1.7.11)
bullet_train-super_load_and_authorize_resource (= 1.7.11)
bullet_train-super_scaffolding (= 1.7.11)
bullet_train-themes (= 1.7.11)
bullet_train-themes-light (= 1.7.11)
bullet_train-themes-tailwind_css (= 1.7.11)
bullet_train (= 1.7.15)
bullet_train-api (= 1.7.15)
bullet_train-fields (= 1.7.15)
bullet_train-has_uuid (= 1.7.15)
bullet_train-incoming_webhooks (= 1.7.15)
bullet_train-integrations (= 1.7.15)
bullet_train-integrations-stripe (= 1.7.15)
bullet_train-obfuscates_id (= 1.7.15)
bullet_train-outgoing_webhooks (= 1.7.15)
bullet_train-roles (= 1.7.15)
bullet_train-scope_questions (= 1.7.15)
bullet_train-scope_validator (= 1.7.15)
bullet_train-sortable (= 1.7.15)
bullet_train-super_load_and_authorize_resource (= 1.7.15)
bullet_train-super_scaffolding (= 1.7.15)
bullet_train-themes (= 1.7.15)
bullet_train-themes-light (= 1.7.15)
bullet_train-themes-tailwind_css (= 1.7.15)
capybara (~> 3.39)
capybara-email
capybara-lockstep
Expand Down
27 changes: 19 additions & 8 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,27 @@
"keywords": ["ruby", "rails"],
"buildpacks": [
{ "url": "heroku/nodejs" },
{ "url": "https://github.com/gaffneyc/heroku-buildpack-jemalloc.git" },
{ "url": "heroku/ruby" }
],
"formation": {
"web": {
"quantity": 1,
"size": "standard-1x"
"size": "basic"
},
"worker": {
"quantity": 1,
"size": "standard-1x"
"size": "basic"
}
},
"addons": [
"heroku-postgresql:standard-0",
"heroku-redis:premium-0",
"memcachier:100",
"bucketeer:hobbyist",
"heroku-postgresql:essential-0",
"heroku-redis:mini",
"memcachier:dev",
"cloudinary:starter",
"scheduler:standard",
"rails-autoscale:white",
"honeybadger:basic",
"sentry:f1"
"honeybadger:basic"
],
"env": {
"BASE_URL": {
Expand All @@ -46,6 +45,18 @@
"description": "This ensures the Super Scaffolding templates don't show up in production.",
"generator": "secret",
"required": true
},
"RAILS_MAX_THREADS": {
"description": "The maximum number of threads that puma will fork. https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#recommended-default-puma-process-and-thread-configuration",
"value": "5"
},
"WEB_CONCURRENCY": {
"description": "The number of workers per puma thread. We set it low to prevent OOM errors on new heroku apps. If you move to larger dynos you can increase this. https://devcenter.heroku.com/articles/deploying-rails-applications-with-the-puma-web-server#recommended-default-puma-process-and-thread-configuration",
"value": "2"
},
"JEMALLOC_ENABLED": {
"description": "Activate the jemalloc buildpack. https://elements.heroku.com/buildpacks/gaffneyc/heroku-buildpack-jemalloc",
"value": true
}
}
}
14 changes: 1 addition & 13 deletions bin/configure
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,7 @@ require "#{__dir__}/configure-scripts/commit_changes"
# Now we can push to `origin` (if we have one, and you want to)
require "#{__dir__}/configure-scripts/push_to_origin"

# Now we check that you have base-level system dependencies installed.
require "#{__dir__}/configure-scripts/check_postgres"
require "#{__dir__}/configure-scripts/check_redis"
require "#{__dir__}/configure-scripts/check_icu"
require "#{__dir__}/configure-scripts/check_node"

# And finally we `bundle install` & `yarn install`
#
announce_section "Running `bundle install`"
stream "bundle install"

announce_section "Running `yarn install`."
stream "yarn install"


announce_section "Configuration complete!"
puts ""
Expand Down
Loading