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

Qtest11 #17331

Closed
wants to merge 1 commit into from
Closed

Qtest11 #17331

wants to merge 1 commit into from

Conversation

robertaandersen
Copy link
Member

@robertaandersen robertaandersen commented Dec 20, 2024

...

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

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced a new CI/CD pipeline for the Unicorn application, including workflows for pull requests, merges, and external checks.
    • Added a greeting API endpoint returning "Hello, hello, from API!".
    • Implemented a service setup for the Unicorn application within a Kubernetes environment.
  • Configuration Changes

    • New application configurations for development, staging, and production environments in Helm charts.
    • Updated .gitignore to exclude additional files and remove duplicates.
  • Bug Fixes

    • Excluded specific branches from triggering workflows to streamline CI processes.
  • Documentation

    • Added ESLint and TypeScript configurations for better code quality and type safety.
  • Tests

    • Introduced unit tests for the Page component to ensure proper rendering.

@robertaandersen robertaandersen requested review from a team as code owners December 20, 2024 13:44
Copy link
Contributor

coderabbitai bot commented Dec 20, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request introduces a comprehensive setup for a new application called unicorn-app, including GitHub workflow configurations, Kubernetes chart configurations, and application-specific files. The changes span multiple directories, establishing a complete infrastructure for a new microservice within the existing project ecosystem. The modifications include workflow adjustments, application code setup, deployment configurations for different environments, and infrastructure-related scripts.

Changes

File/Directory Change Summary
.github/workflows/ Multiple workflow files modified to exclude specific branches (uni-pr, feature/unicorn-app) from various triggers
.github/XXXXX.kodiak.toml Added configuration to ignore updates from user "robertaandersen"
apps/unicorn-app/ Complete application setup including Next.js configuration, TypeScript configs, source code, and test specifications
charts/islandis/values.{dev,staging,prod}.yaml Added unicorn-app configurations for different environments
charts/services/unicorn-app/values.{dev,staging,prod}.yaml Detailed service configurations for deployment
infra/src/uber-charts/islandis.ts Integrated unicornApp into service management
scripts/ci/ Added utility scripts for release and project management
tsconfig.base.json Added path mapping for @island.is/unicorn-app

Sequence Diagram

sequenceDiagram
    participant Developer
    participant GitHub
    participant CI/CD
    participant Kubernetes
    
    Developer->>GitHub: Push code
    GitHub->>CI/CD: Trigger workflows
    CI/CD->>CI/CD: Run tests and checks
    CI/CD->>Kubernetes: Deploy application
    Kubernetes->>Kubernetes: Configure services
Loading

Possibly related PRs

Suggested labels

automerge

Tip

CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command @coderabbitai generate docstrings to have CodeRabbit automatically generate docstrings for your pull request. We would love to hear your feedback on Discord.


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between fa5f279 and 71ce50e.

⛔ Files ignored due to path filters (1)
  • apps/unicorn-app/public/favicon.ico is excluded by !**/*.ico
📒 Files selected for processing (41)
  • .github/XXXXX.kodiak.toml (1 hunks)
  • .github/workflows/config-values.yaml (1 hunks)
  • .github/workflows/external-checks.yml (1 hunks)
  • .github/workflows/merge-queue-ci.yml (1 hunks)
  • .github/workflows/pullrequest-close.yml (1 hunks)
  • .github/workflows/pullrequest-lint.yml (1 hunks)
  • .github/workflows/pullrequest.yml (1 hunks)
  • .github/workflows/push.yml (1 hunks)
  • .github/workflows/revert-pr.yaml (1 hunks)
  • .github/workflows/unicorns.yml (1 hunks)
  • .gitignore (1 hunks)
  • apps/unicorn-app/.eslintrc.json (1 hunks)
  • apps/unicorn-app/codegen.yml (1 hunks)
  • apps/unicorn-app/index.d.ts (1 hunks)
  • apps/unicorn-app/infra/infra.ts (1 hunks)
  • apps/unicorn-app/jest.config.ts (1 hunks)
  • apps/unicorn-app/next-env.d.ts (1 hunks)
  • apps/unicorn-app/next.config.js (1 hunks)
  • apps/unicorn-app/project.json (1 hunks)
  • apps/unicorn-app/server.ts (1 hunks)
  • apps/unicorn-app/specs/index.spec.tsx (1 hunks)
  • apps/unicorn-app/src/app/api/hello/route.ts (1 hunks)
  • apps/unicorn-app/src/app/global.css (1 hunks)
  • apps/unicorn-app/src/app/layout.tsx (1 hunks)
  • apps/unicorn-app/src/app/page.module.css (1 hunks)
  • apps/unicorn-app/src/app/page.tsx (1 hunks)
  • apps/unicorn-app/tsconfig.json (1 hunks)
  • apps/unicorn-app/tsconfig.server.json (1 hunks)
  • apps/unicorn-app/tsconfig.spec.json (1 hunks)
  • apps/unicorn-app/webpack.config.js (1 hunks)
  • charts/islandis/values.dev.yaml (2 hunks)
  • charts/islandis/values.prod.yaml (2 hunks)
  • charts/islandis/values.staging.yaml (2 hunks)
  • charts/services/unicorn-app/values.dev.yaml (1 hunks)
  • charts/services/unicorn-app/values.prod.yaml (1 hunks)
  • charts/services/unicorn-app/values.staging.yaml (1 hunks)
  • infra/src/uber-charts/islandis.ts (5 hunks)
  • scripts/ci/create-release.mjs (1 hunks)
  • scripts/ci/get-last-release.mjs (1 hunks)
  • scripts/ci/unicorn-utils.mjs (1 hunks)
  • tsconfig.base.json (1 hunks)

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.

@robertaandersen robertaandersen changed the base branch from main to feature/unicorn-app December 20, 2024 13:45
auto-merge was automatically disabled December 20, 2024 13:50

Pull request was closed

@robertaandersen robertaandersen deleted the qtest11 branch December 20, 2024 13:50
@robertaandersen robertaandersen restored the qtest11 branch December 20, 2024 13:50
@robertaandersen robertaandersen deleted the qtest11 branch December 20, 2024 13:51
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 35.63%. Comparing base (03ef8d9) to head (71ce50e).

Additional details and impacted files

Impacted file tree graph

@@                   Coverage Diff                   @@
##           feature/unicorn-app   #17331      +/-   ##
=======================================================
- Coverage                35.63%   35.63%   -0.01%     
=======================================================
  Files                     6932     6932              
  Lines                   149138   149138              
  Branches                 42658    42658              
=======================================================
- Hits                     53142    53141       -1     
- Misses                   95996    95997       +1     
Flag Coverage Δ
air-discount-scheme-backend 48.22% <ø> (ø)
air-discount-scheme-web 0.00% <ø> (ø)
api 3.33% <ø> (ø)
api-domains-air-discount-scheme 37.93% <ø> (ø)
api-domains-auth-admin 48.49% <ø> (ø)
application-system-api 38.74% <ø> (-0.02%) ⬇️
application-template-api-modules 27.69% <ø> (+<0.01%) ⬆️
application-ui-shell 22.28% <ø> (ø)
auth-admin-web 2.43% <ø> (ø)
auth-shared 75.00% <ø> (ø)
contentful-apps 4.71% <ø> (ø)
financial-aid-backend 51.42% <ø> (ø)
icelandic-names-registry-backend 54.33% <ø> (ø)
judicial-system-api 20.20% <ø> (ø)
judicial-system-backend 55.97% <ø> (ø)
judicial-system-message-handler 48.33% <ø> (ø)
judicial-system-scheduler 71.15% <ø> (ø)
judicial-system-web 27.72% <ø> (ø)
license-api 42.92% <ø> (-0.08%) ⬇️
services-auth-admin-api 52.55% <ø> (ø)
services-auth-delegation-api 58.53% <ø> (+0.08%) ⬆️
services-auth-ids-api 52.54% <ø> (-0.01%) ⬇️
services-auth-public-api 49.40% <ø> (ø)
services-sessions 65.36% <ø> (ø)
services-university-gateway 49.55% <ø> (+0.05%) ⬆️
services-user-notification 46.53% <ø> (ø)
services-user-profile 56.95% <ø> (ø)
skilavottord-ws 24.26% <ø> (ø)
unicorn-app 25.00% <ø> (ø)
web 2.40% <ø> (ø)

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% <ø> (ø)

... and 1 file 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 03ef8d9...71ce50e. Read the comment docs.

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.

1 participant