discourse/spec
Alan Guo Xiang Tan 80800e8f8d
DEV: Schema only dump for databases cache in tests workflow
The output from `pg_dumpall` is reused across tests workflow runs based
on the cache key of the `app-cache` actions cache. However, the dump
file contains database rows that have been inserted by our seed process.
The problem here is that our seed files may reference code in other
files but those files are not included as part of the cache key for
`app-cache`. It is also impractical for us to be able to identify all
possible files that alter the outcome of the seeding process.

As such, this commit updates the `tests` github actions workflow to only
dump the schema of the databases and will seed the databases from
scratch.
2025-08-14 09:21:39 +08:00
..
db/migrate FEATURE: Themeable site settings (#32233) 2025-07-16 11:00:21 +10:00
fabricators FEATURE: Enable rich editor for all users (#33699) 2025-07-28 10:08:50 +10:00
fixtures FIX: correctly unescape title for amazon oneboxes (#33010) 2025-06-02 17:50:13 +05:30
generator DEV: Silence the output of migration specs (#26365) 2024-03-26 11:32:44 +01:00
helpers FEATURE: theme default option in user interface (#34126) 2025-08-08 08:29:58 +08:00
import_export DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
initializers DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
integration DEV: Only write session cookie when contents is changed (#33828) 2025-07-25 11:07:07 +01:00
integrity FIX: cross origin opener policy should apply to public error responses (#31559) 2025-03-03 17:04:24 +08:00
jobs FEATURE: Make staff action logs export respect the filter (#34113) 2025-08-07 16:25:16 +08:00
lib FIX: Deleted topic causes an issue when replacing attributes (#34286) 2025-08-13 17:58:45 +08:00
mailers DEV: Remove ability to use users' names in group mention notifications and mentions shown in emails and added :user_notification_email_options plugin modifier to allow plugins reintroduce this or other modifications to emails (#33449) 2025-07-14 15:20:08 -05:00
models FIX: Clean up user_auth_token_logs even when verbose logging is disabled (#34196) 2025-08-14 01:44:47 +03:00
multisite FEATURE: Themeable site settings (#32233) 2025-07-16 11:00:21 +10:00
queries/reports DEV: add shortcut fab!(:variable, :fabricator) to specs (#33577) 2025-07-11 11:16:34 -03:00
requests FEATURE: Localize topic view in crawler view (#34253) 2025-08-13 16:38:07 +08:00
script/import_scripts DEV: Catch missing translations during test runs (#26258) 2024-05-24 22:15:53 +08:00
serializers UX: Move selected and hover colors up in the color palette UI (#34278) 2025-08-13 18:58:01 +03:00
services DEV: Fix flakey spec with media convert (#33906) 2025-07-28 12:27:43 -06:00
support FIX: Theme site settings not reloading across processes (#34242) 2025-08-12 14:18:32 +10:00
system FEATURE: Improve color palette sorting order in admin (#34282) 2025-08-14 08:22:19 +08:00
tasks DEV: Only load specific plugin bundles during qunit test (#33678) 2025-07-21 21:00:48 +01:00
views FIX: Use correct subcategory subfolder path in crawler (#34250) 2025-08-12 16:14:50 +08:00
rails_helper.rb DEV: Schema only dump for databases cache in tests workflow 2025-08-14 09:21:39 +08:00
regenerate_swagger_docs
swagger_helper.rb DEV: Bump rswag-specs from 2.11.0 to 2.13.0 (#24654) 2023-12-07 08:16:47 +08:00