Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
2c46cdb
docs: update nx wrapper script documentation
webberwang Jul 4, 2025
b90823e
fix: terraform
webberwang Jul 4, 2025
4152e86
feat: implement git tag-based Docker versioning
webberwang Jul 5, 2025
bc641f9
fix: use relative path for validate-git-tag.sh in env.sh
webberwang Jul 5, 2025
5f7d86c
feat: enable infra-pr workflow for version tags
webberwang Jul 5, 2025
2e6fda5
feat: separate infra workflows for branches and tags
webberwang Jul 5, 2025
fcc7c9d
refactor: simplify version validation with JS script
webberwang Jul 5, 2025
1bce568
ci: parallelize Docker builds with terraform operations
webberwang Jul 5, 2025
f9bb872
refactor: root renderer
webberwang Jul 6, 2025
56f4ad0
refactor: rename and move page preview query
webberwang Jul 6, 2025
ddb11fa
feat: add environment variables and update Auth0 Terraform configurat…
webberwang Jul 10, 2025
8fba0ff
docs: add linting rules documentation to CLAUDE.md
webberwang Jul 10, 2025
7733218
feat: add sites components and update renderer with logging
webberwang Jul 10, 2025
e4a634f
fix(libs-frontend-application-renderer): use maybeCurrent for TypeRef…
webberwang Jul 10, 2025
abf28c8
fix(libs): add missing path mapping for page-preview use case
webberwang Jul 10, 2025
af4d50a
refactor: consolidate fetch infrastructure and enable request batching
webberwang Jul 12, 2025
52e8c07
feat: improve logging and parallel processing
webberwang Jul 12, 2025
a864a9d
feat: add page production use case and update tooling
webberwang Jul 12, 2025
e68adda
fix(apps-sites): add force-dynamic to root page to fix build error
webberwang Jul 12, 2025
dea470d
fix(libs-frontend-domain-app): add auth0 client mock to fix test failure
webberwang Jul 12, 2025
cfeb204
refactor(libs-shared-infra-fetch-server): move batch fetch implementa…
webberwang Jul 12, 2025
13392df
refactor(libs-shared-infra-fetch-server): rename server files to remo…
webberwang Jul 12, 2025
2ae6856
fix(libs-backend-application-type): preserve field order during export
webberwang Jul 12, 2025
308f4bf
fix(libs-tools-tsc-check): use source tsconfig.json instead of dist path
webberwang Jul 12, 2025
575488d
fix(libs-tools): fix env.sh semver validation in CircleCI
webberwang Jul 12, 2025
6ebc0d8
fix(libs-tools): use load-nvm command instead of manual nvm loading
webberwang Jul 12, 2025
c6cad02
fix(libs-tools): source BASH_ENV in install-nvm.sh to make nvm available
webberwang Jul 12, 2025
bbe262b
fix(libs-tools): remove remaining load-nvm from restore-workspace-dat…
webberwang Jul 12, 2025
001bdfe
feat(libs-tools): add comprehensive logging and error checking to env.sh
webberwang Jul 12, 2025
d6d7f28
fix(libs-tools): add error handling for git commands in env.sh
webberwang Jul 12, 2025
1f2d895
fix(libs-tools): add fallback for semver package installation in env.sh
webberwang Jul 12, 2025
0ac3c39
ci(libs-tools): add extensive npx debugging to diagnose CI issues
webberwang Jul 12, 2025
143b111
ci(libs-tools): add verbose npm/npx debugging to diagnose package ins…
webberwang Jul 12, 2025
6b39dfe
fix(libs-tools): use built-in regex for semver validation instead of …
webberwang Jul 12, 2025
73c6aa7
chore: clean up CI config and standardize code formatting
webberwang Jul 13, 2025
125a61c
fix: handle undefined where parameter in abstract repository
webberwang Jul 13, 2025
30fd9e4
feat(backend): add comprehensive logging and performance tracking
webberwang Jul 15, 2025
f77d643
fix(libs-tools): remove npx dependency from env.sh setup
webberwang Jul 15, 2025
d87b17b
fix(libs-tools): reorder setup-env to run before workspace operations
webberwang Jul 15, 2025
4bb6851
fix(libs-tools): add comprehensive debugging to env.sh
webberwang Jul 15, 2025
7bc7441
chore(libs-tools): remove debugging code from env.sh
webberwang Jul 15, 2025
2e4f734
fix(libs-tools): handle grep exit code when no version tag exists
webberwang Jul 15, 2025
522a2db
chore(libs-tools): add comment explaining grep error handling
webberwang Jul 15, 2025
0a272f7
chore(libs): update package dependencies
webberwang Jul 15, 2025
660546b
chore(libs): update generated GraphQL files and configurations
webberwang Jul 15, 2025
5a27b9e
chore(libs): migrate to explicit lint targets and add missing configu…
webberwang Jul 15, 2025
101336d
fix(libs): resolve lint errors in backend-infra-core, design-system, …
webberwang Jul 15, 2025
ff05751
fix(libs-backend-infra-core): handle optional where parameter in find…
webberwang Jul 15, 2025
3b2a4b6
refactor(fetch): reorganize batching functionality and move to shared…
webberwang Jul 16, 2025
6b73911
fix(fetch): move fetchWithAuth back to fetch-server library
webberwang Jul 16, 2025
29a9197
fix(lint): resolve id-length linting errors
webberwang Jul 16, 2025
42c42c5
chore: remove logging-strategy.md documentation file
webberwang Jul 16, 2025
78e0cf7
feat(logging): implement namespace-based logging with shared utilities
webberwang Jul 16, 2025
ce1dfd9
chore(libs-tools): enable ESLint caching and document Nx context limi…
webberwang Jul 16, 2025
e248d44
chore(libs-frontend-domain-type): update type domain service and lint…
webberwang Jul 16, 2025
d61cd30
chore(libs-tools): enable Prettier caching in lint-staged
webberwang Jul 16, 2025
d61407c
fix(libs-tools): update path-alias mappings for logging libraries
webberwang Jul 16, 2025
b5901fa
fix(libs-tools): fix rename-npm-name tests to use logger instead of l…
webberwang Jul 16, 2025
54f065b
refactor(shared-utils): make sortFieldsForExport functional with recu…
webberwang Jul 16, 2025
a7e7d3e
refactor(libs-shared-utils): make sortFieldsForExport functional with…
webberwang Jul 16, 2025
9897151
feat: add logging configuration and litellm setup
webberwang Jul 16, 2025
e5b561c
chore: update litellm configuration file
webberwang Jul 16, 2025
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
123 changes: 110 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ commands:
- run:
command: |
pnpm jest --clearCache
increment-docker-version:
description: Increment Docker Version
steps:
- run: ~/project/.circleci/config/commands/increment-docker-version.sh
install-cypher-shell:
steps:
- run:
Expand Down Expand Up @@ -112,10 +108,15 @@ commands:
- ~/.nvm
- run:
command: |
source $BASH_ENV
nvm install 22.14.0
nvm alias default 22.14.0
node -v
which node
npm -v
which npm
npx -v
which npx
name: Set Node Version
install-packages:
steps:
Expand Down Expand Up @@ -210,6 +211,7 @@ commands:
description: Restore Workspace
steps:
- checkout
- setup-env
- attach_workspace:
at: ~/
- run:
Expand All @@ -225,13 +227,12 @@ commands:
keys:
- nvm-cache-{{ checksum ".nvmrc" }}
name: Restore NVM Cache
- load-nvm
- install-pnpm
- setup-env
restore-workspace-database:
description: Restore Workspace
steps:
- checkout
- setup-env
- attach_workspace:
at: ~/
- run:
Expand All @@ -247,10 +248,8 @@ commands:
keys:
- nvm-cache-{{ checksum ".nvmrc" }}
name: Restore NVM Cache
- load-nvm
- install-pnpm
- install-cypher-shell
- setup-env
restore-workspace-infra:
description: Restore Infra Workspace
steps:
Expand Down Expand Up @@ -601,10 +600,10 @@ jobs:
resource_class: large
steps:
- checkout
- setup-env
- install-nvm
- install-terraform
- increment-docker-version
- login-docker
- increment-docker-version
- persist_to_workspace:
paths:
- .docker/config.json
Expand Down Expand Up @@ -951,7 +950,7 @@ workflows:
only:
- staging
requires:
- tf-apply-ci
- setup-infra-workspace
- docker-api:
context:
- prod
Expand All @@ -960,7 +959,7 @@ workflows:
only:
- staging
requires:
- tf-apply-ci
- setup-infra-workspace
- docker-sites:
context:
- prod
Expand All @@ -969,7 +968,7 @@ workflows:
only:
- staging
requires:
- tf-apply-ci
- setup-infra-workspace
- docker-landing:
context:
- prod
Expand Down Expand Up @@ -1006,4 +1005,102 @@ workflows:
requires:
- hold-apply
stage: prod
infra-pr-tag:
jobs:
- setup-infra-workspace:
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
- tf-plan:
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
name: tf-plan-ci
requires:
- setup-infra-workspace
stage: ci
- tf-apply:
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
name: tf-apply-ci
requires:
- tf-plan-ci
stage: ci
- docker-web:
context:
- prod
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
requires:
- setup-infra-workspace
- docker-api:
context:
- prod
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
requires:
- setup-infra-workspace
- docker-sites:
context:
- prod
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
requires:
- setup-infra-workspace
- docker-landing:
context:
- prod
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
requires:
- setup-infra-workspace
- tf-plan:
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
requires:
- docker-web
- docker-api
- docker-sites
- docker-landing
stage: prod
- hold-apply:
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
requires:
- tf-plan
type: approval
- tf-apply:
filters:
branches:
ignore: /.*/
tags:
only: /^[0-9]+\.[0-9]+\.[0-9]+$/
requires:
- hold-apply
stage: prod
working_directory: ~/project
1 change: 0 additions & 1 deletion .circleci/config/commands/.gitignore

This file was deleted.

31 changes: 0 additions & 31 deletions .circleci/config/commands/increment-docker-version.sh

This file was deleted.

9 changes: 0 additions & 9 deletions .circleci/config/commands/increment-docker-version.tmpl.json

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/config/commands/increment-docker-version.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .circleci/config/commands/install-nvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ steps:
- run:
name: 'Set Node Version'
command: |
source $BASH_ENV
nvm install 22.14.0
nvm alias default 22.14.0
node -v
which node
npm -v
which npm
npx -v
which npx
3 changes: 1 addition & 2 deletions .circleci/config/commands/restore-workspace-database.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
description: 'Restore Workspace'
steps:
- checkout
- setup-env
# Attach `dist` folder
- attach_workspace:
at: ~/
Expand All @@ -17,7 +18,5 @@ steps:
name: 'Restore NVM Cache'
keys:
- nvm-cache-{{ checksum ".nvmrc" }}
- load-nvm
- install-pnpm
- install-cypher-shell
- setup-env
3 changes: 1 addition & 2 deletions .circleci/config/commands/restore-workspace.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
description: 'Restore Workspace'
steps:
- checkout
- setup-env
# Attach `dist` folder
- attach_workspace:
at: ~/
Expand All @@ -17,6 +18,4 @@ steps:
name: 'Restore NVM Cache'
keys:
- nvm-cache-{{ checksum ".nvmrc" }}
- load-nvm
- install-pnpm
- setup-env
12 changes: 9 additions & 3 deletions .circleci/config/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ echo "export NEO4J_USER=neo4j" >> $BASH_ENV
#
# Slack settings
#

if [ "$CIRCLE_USERNAME" == "$GITHUB_VLADSLAV" ]; then
echo "export SLACK_PARAM_MENTIONS=\<@${SLACK_VLADSLAV}\>" >> $BASH_ENV
elif [ "$CIRCLE_USERNAME" == "$GITHUB_ASSIM" ]; then
Expand All @@ -47,6 +46,13 @@ else
echo "export SLACK_PARAM_MENTIONS=\<@${SLACK_WEBBER}\>" >> $BASH_ENV
fi

# Done
source $BASH_ENV
#
# Docker tag version from git tags
#
# Note: || true prevents script failure when grep finds no matches (returns exit code 1)
VERSION_TAG=$(git tag --points-at HEAD | grep -E "^[0-9]+\.[0-9]+\.[0-9]+$" | head -1 || true)

eval "$(node ./scripts/validate-semver.js "$VERSION_TAG")"

# Done
source $BASH_ENV
3 changes: 3 additions & 0 deletions .circleci/config/install-nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ echo 'source $NVM_DIR/nvm.sh' >> $BASH_ENV
if [ ! -d "$NVM_DIR" ]; then
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
fi

# Source BASH_ENV to make nvm available in current shell
source $BASH_ENV
6 changes: 3 additions & 3 deletions .circleci/config/jobs/setup-infra-workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ executor: docker-node
resource_class: large
steps:
- checkout
- setup-env
- install-nvm
- install-terraform
- increment-docker-version
# - install-packer
- login-docker
- increment-docker-version

- persist_to_workspace:
root: ~/
# Persists the docker login
Expand Down
Loading