Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(unicorn): initital draft #16758

Draft
wants to merge 58 commits into
base: main
Choose a base branch
from
Draft

feat(unicorn): initital draft #16758

wants to merge 58 commits into from

Conversation

busla
Copy link
Member

@busla busla commented Nov 7, 2024

  • feat: cd test app
  • fix: rename app
  • fix: name
  • fix: added dummy queries and codegen target
  • fix: eslint
  • fix: style
  • fix: import query
  • fix: import shared type
  • fix: affect shared/types

...

Attach a link to issue if relevant

What

Specify what you're trying to achieve

Why

Specify why you need to achieve this

Screenshots / Gifs

Attach Screenshots / Gifs to help reviewers understand the scope of the pull request

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Formatting passes locally with my changes
  • I have rebased against main before asking for a review

Copy link
Contributor

coderabbitai bot commented Nov 7, 2024

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. 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.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@busla busla added the deploy-feature Deploys features to dev label Nov 7, 2024
Copy link
Contributor

github-actions bot commented Nov 7, 2024

Affected services are: air-discount-scheme-api,air-discount-scheme-backend,api,application-system-api,download-service,financial-aid-api,financial-aid-backend,financial-aid-open-api,github-actions-cache,icelandic-names-registry-backend,judicial-system-api,judicial-system-digital-mailbox-api,judicial-system-backend,judicial-system-message-handler,judicial-system-scheduler,judicial-system-xrd-api,license-api,reference-backend,regulations-admin-backend,services-auth-admin-api,services-auth-ids-api,services-auth-delegation-api,services-auth-personal-representative,services-auth-personal-representative-public,services-auth-public-api,services-bff,services-contentful-entry-tagger,services-documents,services-endorsements-api,services-form-system,services-search-indexer,services-sessions,services-university-gateway,services-user-notification,services-user-profile,services-xroad-collector,skilavottord-ws,air-discount-scheme-web,auth-admin-web,consultation-portal,contentful-apps,financial-aid-web-osk,financial-aid-web-veita,judicial-system-web,skilavottord-web,unicorn-app,web,application-system-form,island-ui-storybook,portals-admin,service-portal,system-e2e,external-contracts-tests,
Feature deployment of your services will begin shortly. Your feature will be accessible here:
https://unicorn-app-api-catalogue.dev01.devland.is/api
https://unicorn-app-api.dev01.devland.is/download
https://unicorn-app-application-callback-xrd.internal.dev01.devland.is/application-payment
https://unicorn-app-application-callback-xrd.internal.dev01.devland.is/applications
https://unicorn-app-application-payment-callback-xrd.internal.dev01.devland.is/application-payment
https://unicorn-app-application-payment-callback-xrd.internal.dev01.devland.is/applications
https://unicorn-app-beta.dev01.devland.is/
https://unicorn-app-beta.dev01.devland.is/api
https://unicorn-app-beta.dev01.devland.is/app/skilavottord/
https://unicorn-app-beta.dev01.devland.is/app/skilavottord/api/graphql
https://unicorn-app-beta.dev01.devland.is/bff
https://unicorn-app-beta.dev01.devland.is/minarsidur
https://unicorn-app-beta.dev01.devland.is/samradsgatt
https://unicorn-app-beta.dev01.devland.is/stjornbord
https://unicorn-app-beta.dev01.devland.is/stjornbord/bff
https://unicorn-app-beta.dev01.devland.is/umsoknir
https://unicorn-app-license-api-xrd.internal.dev01.devland.is/
https://unicorn-app-loftbru-cf.dev01.devland.is/
https://unicorn-app-loftbru-cf.dev01.devland.is/api/graphql
https://unicorn-app-loftbru-cf.dev01.devland.is/api/public
https://unicorn-app-loftbru-cf.dev01.devland.is/api/swagger
https://unicorn-app-loftbru.dev01.devland.is/
https://unicorn-app-loftbru.dev01.devland.is/api/graphql
https://unicorn-app-loftbru.dev01.devland.is/api/public
https://unicorn-app-loftbru.dev01.devland.is/api/swagger
https://unicorn-app-service-portal-api.internal.dev01.devland.is/
https://unicorn-app-services-university-gateway.internal.dev01.devland.is/api
https://unicorn-app-sessions-api.internal.dev01.devland.is/
https://unicorn-app-ui.dev01.devland.is/
https://unicorn-app-unicorn-app.dev01.devland.is/

Deployed services: application-system-api,application-system-form,service-portal,service-portal-api,portals-admin,consultation-portal,api,web,xroad-collector,skilavottord-web,skilavottord-ws,services-documents,island-ui-storybook,download-service,icelandic-names-registry-backend,endorsement-system-api,air-discount-scheme-web,air-discount-scheme-backend,air-discount-scheme-api,regulations-admin-backend,external-contracts-tests,application-system-api-worker,license-api,services-sessions,services-sessions-worker,services-sessions-cleanup,services-university-gateway,services-university-gateway-worker,services-bff-portals-admin,unicorn-app,services-bff-portals-my-pages.
Excluded services: search-indexer-service,github-actions-cache,user-notification,user-notification-worker,user-notification-cleanup-worker,contentful-entry-tagger-service,contentful-apps

@datadog-island-is
Copy link

datadog-island-is bot commented Nov 7, 2024

Datadog Report

All test runs f3b3109 🔗

10 Total Test Services: 0 Failed, 10 Passed
🔻 Test Sessions change in coverage: 6 decreased, 1 increased (+0.03%), 192 no change

Test Services
This report shows up to 10 services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Code Coverage Change Test Service View
air-discount-scheme-backend 0 0 0 63 0 22.95s N/A Link
air-discount-scheme-web 0 0 0 2 0 6.82s N/A Link
api 0 0 0 4 0 2.57s N/A Link
api-catalogue-services 0 0 0 23 0 9.15s N/A Link
api-domains-air-discount-scheme 0 0 0 6 0 16.19s 1 no change Link
api-domains-assets 0 0 0 3 0 9.74s N/A Link
api-domains-auth-admin 0 0 0 18 0 10.45s N/A Link
api-domains-communications 0 0 0 5 0 31.14s 1 no change Link
api-domains-criminal-record 0 0 0 5 0 8.53s N/A Link
api-domains-driving-license 0 0 0 23 0 27.02s 1 no change Link

🔻 Code Coverage Decreases vs Default Branch (6)

This report shows up to 5 code coverage decreases.

  • clients-middlewares - jest 75.45% (-0.2%) - Details
  • application-templates-parental-leave - jest 34.97% (-0.1%) - Details
  • services-auth-delegation-api - jest 50.45% (-0.03%) - Details
  • services-university-gateway - jest 45.26% (-0.02%) - Details
  • services-user-profile - jest 49.24% (-0.02%) - Details

Copy link

codecov bot commented Nov 7, 2024

Codecov Report

Attention: Patch coverage is 25.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 35.60%. Comparing base (5c7ec7a) to head (24753db).
Report is 36 commits behind head on main.

Files with missing lines Patch % Lines
apps/unicorn-app/src/app/layout.tsx 0.00% 3 Missing ⚠️
apps/unicorn-app/src/app/api/hello/route.ts 0.00% 2 Missing ⚠️
apps/unicorn-app/server.ts 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #16758      +/-   ##
==========================================
- Coverage   35.71%   35.60%   -0.11%     
==========================================
  Files        6944     6935       -9     
  Lines      148533   149244     +711     
  Branches    42401    42710     +309     
==========================================
+ Hits        53044    53139      +95     
- Misses      95489    96105     +616     
Flag Coverage Δ
air-discount-scheme-backend 48.24% <ø> (+0.04%) ⬆️
air-discount-scheme-web 0.00% <ø> (ø)
api 3.33% <ø> (ø)
api-catalogue-services 75.81% <ø> (ø)
api-domains-air-discount-scheme 37.99% <ø> (+0.08%) ⬆️
api-domains-assets 26.71% <ø> (ø)
api-domains-auth-admin 48.49% <ø> (ø)
api-domains-communications 39.42% <ø> (+<0.01%) ⬆️
api-domains-criminal-record 48.03% <ø> (+0.11%) ⬆️
api-domains-driving-license 44.86% <ø> (+0.04%) ⬆️
api-domains-education 31.27% <ø> (+0.09%) ⬆️
api-domains-health-insurance 35.47% <ø> (+0.14%) ⬆️
api-domains-mortgage-certificate 35.24% <ø> (+0.08%) ⬆️
api-domains-payment-schedule 42.12% <ø> (+0.08%) ⬆️
application-api-files 61.90% <ø> (+0.03%) ⬆️
application-core 75.72% <ø> (-0.06%) ⬇️
application-system-api 38.74% <ø> (-0.01%) ⬇️
application-template-api-modules 27.68% <ø> (-0.16%) ⬇️
application-templates-accident-notification 27.61% <ø> (-1.22%) ⬇️
application-templates-car-recycling 3.12% <ø> (ø)
application-templates-criminal-record 25.83% <ø> (+0.05%) ⬆️
application-templates-driving-license 18.15% <ø> (-0.02%) ⬇️
application-templates-estate 13.66% <ø> (-0.04%) ⬇️
application-templates-example-payment 24.69% <ø> (-0.03%) ⬇️
application-templates-financial-aid 14.45% <ø> (-0.01%) ⬇️
application-templates-general-petition 23.12% <ø> (-0.03%) ⬇️
application-templates-inheritance-report 6.59% <ø> (-0.01%) ⬇️
application-templates-marriage-conditions 15.18% <ø> (-0.02%) ⬇️
application-templates-mortgage-certificate 43.68% <ø> (+0.03%) ⬆️
application-templates-parental-leave 29.83% <ø> (-0.11%) ⬇️
application-types 6.51% <ø> (ø)
application-ui-components 1.22% <ø> (ø)
application-ui-shell 22.26% <ø> (-0.07%) ⬇️
auth-admin-web 2.43% <ø> (ø)
auth-nest-tools 31.52% <ø> (ø)
clients-charge-fjs-v2 28.88% <ø> (+0.53%) ⬆️
clients-driving-license 40.91% <ø> (+0.11%) ⬆️
clients-driving-license-book 43.92% <ø> (+0.08%) ⬆️
clients-financial-statements-inao 49.70% <ø> (+0.11%) ⬆️
clients-license-client 1.26% <ø> (ø)
clients-regulations 43.00% <ø> (+0.12%) ⬆️
clients-rsk-company-registry 31.18% <ø> (+0.14%) ⬆️
clients-rsk-personal-tax-return 38.32% <ø> (ø)
clients-smartsolutions 12.77% <ø> (ø)
clients-zendesk 50.58% <ø> (+0.11%) ⬆️
cms 0.39% <ø> (-0.01%) ⬇️
cms-translations 38.75% <ø> (+<0.01%) ⬆️
content-search-toolkit 8.16% <ø> (ø)
contentful-apps 4.71% <ø> (-0.01%) ⬇️
dokobit-signing 62.18% <ø> (+0.08%) ⬆️
email-service 60.15% <ø> (+0.07%) ⬆️
file-storage 45.97% <ø> (+0.10%) ⬆️
financial-aid-backend 51.42% <ø> (+0.01%) ⬆️
financial-aid-shared 17.88% <ø> (ø)
icelandic-names-registry-backend 54.33% <ø> (ø)
infra-nest-server 48.06% <ø> (ø)
infra-tracing 69.94% <ø> (+0.31%) ⬆️
island-ui-core 30.42% <ø> (+0.01%) ⬆️
judicial-system-api 20.20% <ø> (-0.01%) ⬇️
judicial-system-audit-trail 69.02% <ø> (+0.08%) ⬆️
judicial-system-backend 55.98% <ø> (+0.06%) ⬆️
judicial-system-message 66.60% <ø> (+0.12%) ⬆️
judicial-system-message-handler 48.33% <ø> (+0.17%) ⬆️
judicial-system-scheduler 71.15% <ø> (+0.06%) ⬆️
license-api 42.94% <ø> (-0.03%) ⬇️
localization 10.15% <ø> (ø)
logging 58.02% <ø> (ø)
message-queue 67.05% <ø> (-0.71%) ⬇️
nest-audit 65.78% <ø> (ø)
nest-aws 51.93% <ø> (ø)
nest-config 76.45% <ø> (+0.06%) ⬆️
nest-core 53.16% <ø> (ø)
nest-feature-flags 51.06% <ø> (+0.06%) ⬆️
nest-problem 45.64% <ø> (ø)
nest-sequelize 94.44% <ø> (ø)
nest-swagger 51.13% <ø> (ø)
nova-sms 61.52% <ø> (+0.09%) ⬆️
portals-admin-regulations-admin 1.80% <ø> (ø)
portals-core 19.58% <ø> (-0.04%) ⬇️
services-auth-admin-api 52.54% <ø> (-0.02%) ⬇️
services-auth-ids-api 52.58% <ø> (+0.02%) ⬆️
services-auth-public-api 49.42% <ø> (+0.02%) ⬆️
services-sessions 65.36% <ø> (+0.01%) ⬆️
services-university-gateway 49.46% <ø> (-0.02%) ⬇️
services-user-notification 46.51% <ø> (-0.04%) ⬇️
services-user-profile 56.81% <ø> (-0.04%) ⬇️
shared-components 29.49% <ø> (-0.15%) ⬇️
shared-form-fields 33.38% <ø> (+0.08%) ⬆️
shared-utils 27.69% <ø> (ø)
skilavottord-ws 24.26% <ø> (ø)
unicorn-app 25.00% <25.00%> (?)
web 2.40% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
apps/unicorn-app/src/app/page.tsx 100.00% <100.00%> (ø)
apps/unicorn-app/server.ts 0.00% <0.00%> (ø)
apps/unicorn-app/src/app/api/hello/route.ts 0.00% <0.00%> (ø)
apps/unicorn-app/src/app/layout.tsx 0.00% <0.00%> (ø)

... and 141 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5c7ec7a...24753db. Read the comment docs.

@busla busla force-pushed the feature/unicorn-app branch from 583b1db to d00cc78 Compare November 13, 2024 00:04
@busla busla force-pushed the feature/unicorn-app branch from 40dfdb5 to 8b013d6 Compare November 13, 2024 00:16
busla and others added 30 commits November 13, 2024 14:13
* chore: Adding pipeline for unicorns

* unicorn pipe

* unicorn pipe

* unicorn pipe

* unicorn pipe

* pipetest

* pipetest

* pipetest

* chore: nx format:write update dirty files

* Update .github/workflows/unicorns.yml

Co-authored-by: Jón Levy <[email protected]>

* suggestions

* chore: nx format:write update dirty files

* unicorn pipe

* suggestions

---------

Co-authored-by: andes-it <[email protected]>
Co-authored-by: Jón Levy <[email protected]>
* chore: Adding tests if pipeline should run on unicorns

* chore: nx format:write update dirty files

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: find release branch

* chore: nx format:write update dirty files

* chore: find release branch

* chore: find release branch

* cleanup

* branch sync

* mergequeue

* chore: testing pipeline

* chore: nx format:write update dirty files

* ignore

* ignore

* ignore

* testing pipeline

* testing pipeline

* testing pipeline

---------

Co-authored-by: andes-it <[email protected]>
* chore: testing mergequeue

* Adding mergequeue ci

* chore: testing mergequeue

* chore: testing mergequeue
* chore: testing mergequeue

* Adding mergequeue ci

* chore: testing mergequeue

* chore: testing mergequeue

* chore: testing mergequeue

* chore: testing mergequeue

* chore: nx format:write update dirty files

* chore: testing mergequeue

* chore: testing mergequeue

* Uni pr (#17280)

* chore: testing mergequeue

* Adding mergequeue ci

* chore: testing mergequeue

* chore: testing mergequeue

---------

Co-authored-by: andes-it <[email protected]>
* chore: testing mergequeue

* chore: testing mergequeue

* chore: testing mergequeue
* chore: testing mergequeue

* chore: testing mergequeue
* chore: testing mergequeue

* chore: testing mergequeue

* chore: testing mergequeue

* chore: testing mergequeue
* chore: testing mergequeue

* chore: testing mergequeue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-feature Deploys features to dev
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants