Skip to content

Conversation

kutimiti1234 and others added 30 commits December 21, 2025 20:50
前回のビュー変更(4003c4e2b)に合わせて、コントローラーの権限
チェックを修正し、関連するテストを追加した。
変更内容:
- answer.user.adviser から answer.user.adviser? に変更(29行目)
- メソッド呼び出し(?付き)に統一し、_comment.html.slimと同じパターンに

この修正により、両ファイルで会社ロゴ表示の条件判定が統一されます。
- _answer.html.slim: traineeのチェックを削除しadviser?のみに
- _comment.html.slim: モバイル表示でもadviser?を使用するよう修正
- rails app:update で生成されたファイルを更新
- 新しいフレームワークデフォルト設定を追加
- 環境設定ファイルを更新
- 新しいエラーページとアイコンを追加
- bin/ci, bin/dev などの新しいスクリプトを追加
- AI::AnswerGenerator → Ai::AnswerGenerator
- AIAnswerCreateJob → AiAnswerCreateJob
- AIAnswerCreator → AiAnswerCreator
- inflections.rbからAIアクロニムを削除
- image_processing: >= 1.12.2 に更新 (CVE-2022-24720対応)
- react-rails: 特定コミットにピン留め (mainブランチの不安定さを回避)
- benchmark gem追加 (Ruby 3.5対応)
- rubocop関連gemをdevelopment,testグループに移動
CircleCI:
- libheif-devを追加してHEICサポートを有効化
- importmap auditをコメントアウト (将来のimportmap移行用)

CloudBuild:
- DeleteDBステップのリトライ設定を強化 (12回/10秒間隔)
- 認証が必要なページへのvisitをvisit_with_authに変更
- ActionMailer::Base.deliveriesをsetupでクリア
- findをassert_selectorに変更してアサーションを追加
- assert_differenceでDB変更を検証
- fill_optionsの一貫性を確保
- HEICテストのskipを削除 (CIでlibheif対応済み)
- Discord: ActiveSupport::Configurableをclass_attributeに変更
- ReportExporter: Zip::File.open APIの変更に対応
- User: Vips::Errorをrescue対象に追加
- solid_queueテーブル作成: table_exists?で存在チェック
- good_jobテーブル削除: table_exists?で存在チェック

CI(schema.rb読み込み後)と本番環境(db:migrate)の
両方で正常に動作するように修正。
has_css?/has_no_css?は真偽値を返すだけでアサーションではないため、
assert_selector/assert_no_selectorに修正。
page-tabs → .page-tabs(CSSクラスセレクタの正しい形式)
Rails 7.2.2.2 → 8.1.1 アップグレード
@github-actions github-actions bot changed the title Preparing release pull request... Release 2026-01-09 10:56:33 +0000 Jan 9, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 9, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

- yarn installをnpm installに変更
- yarn.lockをpackage-lock.jsonに変更
- yarnのインストール処理を削除
@github-actions github-actions bot changed the title Release 2026-01-09 10:56:33 +0000 Release 2026-01-09 16:00:26 +0000 Jan 9, 2026
yarnを使わずにnpmでビルドするため、
SHAKAPACKER_NODE_MODULES_BIN_PATH環境変数を設定。
ShakapackerのNode modules bin pathを設定
@github-actions github-actions bot changed the title Release 2026-01-09 16:00:26 +0000 Release 2026-01-09 16:32:01 +0000 Jan 9, 2026
bin/yarn lint → npm run lint
yarnからnpmへの移行に伴い、shakapackerが
node_modules/.binを見つけられるように環境変数を設定。
shakapacker v9.xではwebpack_loaderは非推奨となり、
javascript_transpilerが使用される。デフォルトがswcになったため、
明示的にbabelを指定。
境界ギリギリの日付(13日/14日)ではタイミングで
テストが不安定になるため、明確なマージンに変更:
- jobseeker: 1週間前(delayedに含まれない)
- muryou: 3週間前(delayedに含まれる)
- npm: ^9.5.0 → 7.2.3 (gemと同じバージョンに)
- config: javascript_transpiler → webpack_loader (v7.x用に戻す)
- gem: 7.0 → 9.0
- npm: 7.2.3 → 9.5.0
- config: webpack_loader → javascript_transpiler (v9の新設定名)

CSS Modulesは使用していないため、破壊的変更の影響なし。
bin/lintをyarnからnpmに変更
@github-actions github-actions bot changed the title Release 2026-01-09 16:32:01 +0000 Release 2026-01-10 16:32:43 +0000 Jan 10, 2026
ryufuta and others added 2 commits January 13, 2026 11:55
マイグレーションファイルと整合しない方のインデックスを削除
…pansion-in-lint

Prettier実行時のglob展開が環境に依存しないようにする
@github-actions github-actions bot changed the title Release 2026-01-10 16:32:43 +0000 Release 2026-01-13 15:57:21 +0000 Jan 13, 2026
コメントの不要な余白を削除
…-user-index

commentsテーブルの重複したインデックスを削除
@github-actions github-actions bot changed the title Release 2026-01-13 15:57:21 +0000 Release 2026-01-13 15:59:29 +0000 Jan 13, 2026
@github-actions github-actions bot changed the title Release 2026-01-13 15:59:29 +0000 Release 2026-01-13 15:59:55 +0000 Jan 13, 2026
メール送信エラー(Postmark::InactiveRecipientError等)が
発生してもサイト内通知が確実に作成されるように、
実行順序をサイト内通知→メール通知に変更。
…order

お知らせ通知の順序を変更: サイト内通知を先に実行
@github-actions github-actions bot changed the title Release 2026-01-13 15:59:55 +0000 Release 2026-01-14 09:56:43 +0000 Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants