Skip to content

Develop#18

Merged
flashguerdon merged 100 commits into
masterfrom
develop
Jan 24, 2026
Merged

Develop#18
flashguerdon merged 100 commits into
masterfrom
develop

Conversation

@flashguerdon
Copy link
Copy Markdown

Checklist for author

Remove items that aren't applicable, check items that are done.

Reviewability

  • Link to issue
  • Note if PR is on top of other PR
  • Note if related change in rems-deploy repo
  • Consider adding screenshots for ease of review

Backwards compatibility

  • API is backwards compatible or completely new
  • Events are backwards compatible or have migrations
  • Config is backwards compatible
  • Feature appears correctly in PDF print

Documentation

  • Update changelog if necessary
  • API is documented and shows up in Swagger UI
  • Components are added to guide page
  • Update docs/ (if applicable)
  • Update manual/ (if applicable)
  • ADR for major architectural decisions or experiments
  • New config options in config-defaults.edn

Testing

  • Complex logic is unit tested
  • Valuable features are integration / browser / acceptance tested automatically

Follow-up

  • New tasks are created for pending or remaining tasks

aatkin and others added 30 commits January 28, 2025 15:16
Add rudimentary cache reload tests which verify that basic db entity caches initialize correctly from database:

- rems.db.attachments
- rems.db.blacklist
- rems.db.catalogue
- rems.db.form
- rems.db.licenses
- rems.db.organizations
- rems.db.resource
- rems.db.roles
- rems.db.user-mappings
- rems.db.user-settings (pre-existing)
- rems.db.users
- rems.db.workflow
Change CircleCI test splitting to use test names instead of filenames (documentation was buried deep on this one). This should improve parallel test distribution, especially for browser tests that are all in one file.
- Renamed kaocha plugins
- Write cache statistics to files in target/cache-statistics-plugin instead of stdout, and store as CircleCI artifacts
- Write test-ids and split-test-ids to files in target/circleci-parallel-plugin and store as CircleCI artifacts
This was unnecessary part from the beginning, and mainly just interesting while debugging early version of the cache.

There is a subtle "bug" regarding config startup: mount is not started before the namespace is loaded. It's not an easy issue to solve, because caches are defined in many different namespaces and initialized using function call.
rems.main was removed at some point as unnecessary require, but it is now used by hooks test, and sometimes Kaocha test runner goes haywire about the missing require.
We should use `ok` helper like elsewhere.
We should use `ok` helper like elsewhere.
This can be removed once cprop fix is released.

See tolitius/cprop#60
In these places since JDK 19+ reflection does not find the method
without explicitly using long.
@flashguerdon flashguerdon merged commit 5b1bfd2 into master Jan 24, 2026
2 checks passed
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.

6 participants