Skip to content

ci: Reuse common build actions and fix turbo outputs (no-changelog) #15830

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

shortstacked
Copy link
Contributor

@shortstacked shortstacked commented May 29, 2025

Reuse build action for setup/install/build/cache across multiple jobs.
Fix outputs for Turbo cache code coverage reports.

Summary

Turbo wasn't restoring the test results or code coverage files when it was restored from cache, leading to missing reports in CodeCov.

Reused setup action across multiple jobs.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/CAT-865/ci-ensure-codecov-results-are-uploaded

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

If we don't run the tests we don't generate coverage report.
Also used existing action for setup/build
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic reviewed 2 files and found no issues. Review PR in cubic.dev.

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label May 29, 2025
Copy link

codecov bot commented May 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@shortstacked shortstacked force-pushed the CAT-865-ensure-codecov-upload branch 15 times, most recently from 23f5a21 to a917c77 Compare May 29, 2025 21:00
@shortstacked shortstacked changed the title ci: Force tests to run if coverage is required (no-changelog) ci: Reuse common build actions and fix turbo outputs (no-changelog) May 29, 2025
@shortstacked shortstacked requested review from a team and netroy and removed request for a team May 29, 2025 21:29
@shortstacked shortstacked force-pushed the CAT-865-ensure-codecov-upload branch from a917c77 to c9ece35 Compare May 30, 2025 08:17
@shortstacked shortstacked requested a review from ivov May 30, 2025 08:18
@shortstacked shortstacked requested a review from ivov May 30, 2025 12:02
ivov
ivov previously approved these changes May 30, 2025
@shortstacked
Copy link
Contributor Author

Workflow Test Results 📊 🔴 1 Failed, ⚠️ 2 Warnings, 👍 80 Successful out of 83 total workflows.

Detail: Workflows failing: 237: Workflow contains 1 deleted data. View full workflow run

Tested Ref: 0f4d68b3ec48ea697a2c6ab973da6fd55892b873 by @ivov

❌ Failed Tests (1)

Workflow ID Workflow Name Reason
237 BasicLLMChain:AzureChat Workflow contains 1 deleted data.

⚠️ Warnings (2)

Workflow ID Workflow Name Reason
53 ConvertKit:CustomField:create getAll update delete... Workflow contains new data that previously did not exist.
257 Agent:auto-fix:anthropic Workflow contains new data that previously did not exist.

Copy link
Contributor

✅ All Cypress E2E specs passed

@shortstacked shortstacked force-pushed the CAT-865-ensure-codecov-upload branch from 7c582f2 to b417366 Compare May 30, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants