twenty/.github
Charles Bochet 191a277ddf
fix: invalidate rolesPermissions cache + add Docker Hub auth to CI (#19044)
## Summary

### Cache invalidation fix
- After migrating object/field permissions to syncable entities (#18609,
#18751, #18567), changes to `flatObjectPermissionMaps`,
`flatFieldPermissionMaps`, or `flatPermissionFlagMaps` no longer
triggered `rolesPermissions` cache invalidation
- This caused stale permission data to be served, leading to flaky
`permissions-on-relations` integration tests and potentially incorrect
permission enforcement in production after object permission upserts
- Adds the three permission-related flat map keys to the condition that
triggers `rolesPermissions` cache recomputation in
`WorkspaceMigrationRunnerService.getLegacyCacheInvalidationPromises`
- Clears memoizer after recomputation to prevent concurrent
`getOrRecompute` calls from caching stale data

### Docker Hub rate limit fix
- CI service containers (postgres, redis, clickhouse) and `docker
run`/`docker build` steps were pulling from Docker Hub
**unauthenticated**, hitting the 100-pull-per-6-hour rate limit on
shared GitHub-hosted runner IPs
- Adds `credentials` blocks to all service container definitions and
`docker/login-action` steps before `docker run`/`docker compose`
commands
- Uses `vars.DOCKERHUB_USERNAME` + `secrets.DOCKERHUB_PASSWORD`
(matching the existing twenty-infra convention)
- Affected workflows: ci-server, ci-merge-queue, ci-breaking-changes,
ci-zapier, ci-sdk, ci-create-app-e2e, ci-website,
ci-test-docker-compose, preview-env-keepalive, spawn-twenty-docker-image
action
2026-03-27 17:32:53 +01:00
..
actions Refactor twenty client sdk provisioning for logic function and front-component (#18544) 2026-03-24 18:10:25 +00:00
ISSUE_TEMPLATE Prepare field option dropdown for RecordField usage (#13935) 2025-08-18 10:34:12 +02:00
vale-styles Fix Vale CI and change vision (#4724) 2024-04-01 11:39:04 +02:00
workflows fix: invalidate rolesPermissions cache + add Docker Hub auth to CI (#19044) 2026-03-27 17:32:53 +01:00
CLA.md Remove CLA Assistant (#2479) 2023-11-13 16:09:59 +01:00
CODE_OF_CONDUCT.md add contibuting_example.md (#6998) 2024-09-12 12:31:34 +02:00
CONTRIBUTING.md Fix markdown link formatting in CONTRIBUTING.md (#16176) 2025-11-28 13:53:45 +01:00
crowdin-app.yml fix: add base_path to Crowdin configs for correct path resolution (#17196) 2026-01-16 16:54:40 +01:00
crowdin-docs.yml fix: add base_path to Crowdin configs for correct path resolution (#17196) 2026-01-16 16:54:40 +01:00
dependabot.yml Exclude community apps from Dependabot scanning (#17345) 2026-01-22 14:47:21 +01:00
release-drafter.yml feat(ci): add release drafter (#4970) 2024-04-15 20:09:06 +02:00
SECURITY.md changes as per vale warnings (#2353) 2023-11-07 11:39:29 +01:00
vale.ini chore: cleanup repository root structure (#17147) 2026-01-14 12:56:30 +00:00
verdaccio-config.yaml Refactor twenty client sdk provisioning for logic function and front-component (#18544) 2026-03-24 18:10:25 +00:00