Repository navigation
chore: add ingestion svc test - #4159
Conversation
|
Allure Test reports for this run are available at:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4159 +/- ##
========================================
Coverage 91.39% 91.39%
========================================
Files 635 635
Lines 33113 33113
Branches 7821 7825 +4
========================================
Hits 30262 30262
Misses 2645 2645
Partials 206 206 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Allure Test reports for this run are available at:
|
1 similar comment
|
Allure Test reports for this run are available at:
|
|
Allure Test reports for this run are available at:
|
|
Allure Test reports for this run are available at:
|
WalkthroughThis pull request adds a new GitHub Actions workflow file, Changes
Sequence Diagram(s)sequenceDiagram
participant Trigger as GitHub Event
participant Workflow as Actions Workflow
participant Checkout as Repository Checkout
participant GoSetup as Go Environment Setup
participant Clone as Clone Repository
participant Test as Test Runner
Trigger->>Workflow: Push/PR Event on master
Workflow->>Checkout: Checkout repository
Checkout-->>Workflow: Repository code
Workflow->>GoSetup: Set up Go (v1.23.5)
Workflow->>Clone: Clone rudder-ingestion-svc using PAT
Clone-->>Workflow: Cloned repository
Workflow->>Test: Install dependencies & run tests (exclude specific paths)
Test-->>Workflow: Output test results
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
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)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (2)
.github/workflows/ingestion-service-test.yml (2)
32-34: Cloning the Ingestion Service Repository.The cloning command uses a personal access token (
secrets.PAT) to securely clone therudder-ingestion-svcrepository.
Consider using a shallow clone to potentially speed up the process if the full history is not needed:- run: | - git clone https://${{secrets.PAT}}@github.com/rudderlabs/rudder-ingestion-svc.git + run: | + git clone --depth=1 https://${{secrets.PAT}}@github.com/rudderlabs/rudder-ingestion-svc.gitThis change is optional but can improve performance.
39-43: Test Execution Command.The test step:
- Navigates to the cloned repository directory.
- Runs
pwd(which appears to be for debugging purposes).- Executes the test command using
make testwith parameters to target a specific package and exclude files ininternal/gatewaymatching the given regex.If the
pwdcommand was intended for debugging, consider removing or commenting it out in production workflows to keep logs concise.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/ingestion-service-test.yml(1 hunks)
🧰 Additional context used
🪛 GitHub Check: Check for formatting & lint errors
.github/workflows/ingestion-service-test.yml
[warning] 1-1:
File ignored by default.
⏰ Context from checks skipped due to timeout of 90000ms (9)
- GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image ARM64
- GitHub Check: Build Transformer Docker Image - PR / Build Transformer Docker Image AMD64
- GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image AMD64
- GitHub Check: Build User Transformer Docker Image - PR / Build Transformer Docker Image ARM64
- GitHub Check: Code Coverage
- GitHub Check: UT Tests
- GitHub Check: ingestion-service-test
- GitHub Check: test_and_publish
- GitHub Check: Analyze (javascript-typescript)
🔇 Additional comments (7)
.github/workflows/ingestion-service-test.yml (7)
1-2: Workflow Name Declaration Looks Good.The declared workflow name "Ingestion Service Test" is intuitive and accurately reflects the purpose of this workflow.
🧰 Tools
🪛 GitHub Check: Check for formatting & lint errors
[warning] 1-1:
File ignored by default.
3-13: Trigger Events Configuration.The workflow is properly set up to trigger on pushes to the master branch as well as on pull request events (opened, edited, reopened, and synchronize). Verify that these events fully cover your testing requirements.
14-17: Concurrency Setup.The concurrency configuration using a dynamic group identifier (based on the workflow name and either the head ref or commit SHA) is an effective way to cancel in-progress runs for outdated commits. This should help manage resource usage efficiently.
18-24: Job and Environment Configuration.The job
ingestion-service-testis defined to run onubuntu-latestwith an appropriately scoped environment variable (GITHUB_TOKEN). Make sure that the provided token has the necessary permissions for all the required operations.
25-26: Checkout Step Validation.The action uses
actions/checkout@v4to check out the repository, which is the recommended approach. No changes are needed here.
27-31: Go Environment Setup.The workflow sets up the Go environment using
actions/setup-go@v5with version 1.23.5. Confirm that this specific version meets all the requirements of the ingestion service.
35-38: Dependency Installation.Switching directory to
rudder-ingestion-svcand runninggo mod downloadis standard for installing Go dependencies. This step looks correct.
|
Allure Test reports for this run are available at:
|
|



What are the changes introduced in this PR?
Write a brief explainer on your code changes.
What is the related Linear task?
Resolves INT-2926
Please explain the objectives of your changes below
Put down any required details on the broader aspect of your changes. If there are any dependent changes, mandatorily mention them here
Any changes to existing capabilities/behaviour, mention the reason & what are the changes ?
N/A
Any new dependencies introduced with this change?
N/A
Any new generic utility introduced or modified. Please explain the changes.
N/A
Any technical or performance related pointers to consider with the change?
N/A
@coderabbitai review
Developer checklist
My code follows the style guidelines of this project
No breaking changes are being introduced.
All related docs linked with the PR?
All changes manually tested?
Any documentation changes needed with this change?
Is the PR limited to 10 file changes?
Is the PR limited to one linear task?
Are relevant unit and component test-cases added in new readability format?
Reviewer checklist
Is the type of change in the PR title appropriate as per the changes?
Verified that there are no credentials or confidential data exposed with the changes.
Summary by CodeRabbit