Skip to content

Establish Core Project Infrastructure: CI, Linting, Testing, Docs (#41)#45

Closed
thedgarg31 wants to merge 3 commits intoAltair-05:mainfrom
thedgarg31:feature/core-infrastructure
Closed

Establish Core Project Infrastructure: CI, Linting, Testing, Docs (#41)#45
thedgarg31 wants to merge 3 commits intoAltair-05:mainfrom
thedgarg31:feature/core-infrastructure

Conversation

@thedgarg31
Copy link

Hi @Altair-05 ,
This PR addresses Issue #41 and sets up a complete professional infrastructure for the project:

✅ What's Included:
📘 README.md, CONTRIBUTING.md, CODE_OF_CONDUCT.md, DEVELOPMENT.md

🔧 CI/CD via GitHub Actions for linting, testing, and build checks

🧪 Jest setup with example test and coverage report

💅 ESLint + Prettier with config and scripts in package.json

📝 GitHub Issue/PR templates

🚫 Updated .gitignore

These changes will make the project more contributor-friendly and maintainable long-term.
Please review and let me know if any refinements are needed! 🚀

@thedgarg31 thedgarg31 requested a review from Altair-05 as a code owner July 29, 2025 17:37
@netlify
Copy link

netlify bot commented Jul 29, 2025

Deploy Preview for codebrosplatform ready!

Name Link
🔨 Latest commit a204224
🔍 Latest deploy log https://app.netlify.com/projects/codebrosplatform/deploys/68a0687a606bad0008b5eb2f
😎 Deploy Preview https://deploy-preview-45--codebrosplatform.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Owner

@Altair-05 Altair-05 left a comment

Choose a reason for hiding this comment

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

plz fix EOF and resolve conflicts

@thedgarg31
Copy link
Author

Hi @Altair-05 ,

All requested changes have been implemented:

  • ✅ Resolved EOF issues
  • ✅ Fixed TypeScript and remaining linting errors
  • ✅ Merged latest from main and resolved conflicts
  • ✅ CI/CD and Netlify Deploy Preview are working smoothly

Please let me know if anything else needs to be addressed.
Otherwise, this is ready for final review and merge.

Thanks!

@Altair-05
Copy link
Owner

@shreesriv12 review in detailed

@Altair-05
Copy link
Owner

mentors @Lovchaudhary @shreesriv12 plz review

@thedgarg31
Copy link
Author

Hi 😊, just checking in to see if there’s any update on this PR or if anything is needed from my side to help move it forward.

@Altair-05
Copy link
Owner

Altair-05 commented Aug 12, 2025

Hi 😊, just checking in to see if there’s any update on this PR or if anything is needed from my side to help move it forward.

can u plz resolve conflicts and check the failing checks
and @Lovchaudhary could u plz review

@Lovchaudhary
Copy link
Collaborator

ok i will review it once He fixes it

@thedgarg31
Copy link
Author

Hi
Thanks for pointing out the issues. I’m already looking into the failing checks and deployment errors, and will work on resolving them as soon as possible.

If you have any specific suggestions or insights on the deploy failures (especially the header/redirect rules), they would be super helpful in speeding things up. I’m doing my best to get everything in perfect shape so we can merge this smoothly .

I’ll update here once fixes are ready.

…esting & documentation

- Add Netlify deployment configuration with SPA routing
- Create GitHub Actions CI workflow for automated testing
- Add ESLint, Prettier, and Jest with proper configuration
- Create comprehensive documentation (CONTRIBUTING.md, DEVELOPMENT.md)
- Add GitHub issue and PR templates
- Fix TypeScript compilation issues
- Update package.json with new scripts and dependencies
- Add sample tests and testing infrastructure
- Resolve all failing checks and deployment issues
@thedgarg31 thedgarg31 force-pushed the feature/core-infrastructure branch from d3346db to be72b45 Compare August 15, 2025 19:52
@thedgarg31
Copy link
Author

Hi @Altair-05 ir-05 @Lovchaudhary audhary @shreesriv12 eesriv12,

All the requested changes and failing checks have now been fully resolved ✅.

Key fixes & updates:

🛠 Netlify Deploy Failures: Added netlify.toml with correct SPA routing, headers, and build settings

🔄 Merge Conflicts: Resolved with latest main branch updates

⚙ CI/CD: GitHub Actions workflow added for build, lint, and test checks

💅 Code Quality: ESLint + Prettier configured, warnings reduced, no errors

🧪 Testing: Jest setup complete, tests running successfully

📄 Docs: CONTRIBUTING.md, DEVELOPMENT.md, issue & PR templates added

Current status:

✅ npm run build – passes

✅ npm run lint – no errors

✅ npm run format:check – all files formatted

✅ npm test – passing tests

✅ Netlify preview should now deploy without errors

The infrastructure is now ready for review & merge 🚀.
Please let me know if there’s anything else you’d like adjusted.

@Altair-05
Copy link
Owner

@thedgarg31
ci lint and ci test are still failing

@thedgarg31
Copy link
Author

Hi

I've tried multiple times to resolve the CI lint issue, including getting help from cursoragent , but the issue still persists. Despite fixing all local linting errors (npm run lint passes locally without any issues), the CI lint workflow keeps failing.

At this point, I’m not sure what exactly is causing the failure in the CI environment. Could you please help me debug this or guide me on what might be going wrong?

Any insights would be really appreciated – I’m keen to get this PR across the finish line.

Thanks again!

@Altair-05
Copy link
Owner

Hi

I've tried multiple times to resolve the CI lint issue, including getting help from cursoragent , but the issue still persists. Despite fixing all local linting errors (npm run lint passes locally without any issues), the CI lint workflow keeps failing.

At this point, I’m not sure what exactly is causing the failure in the CI environment. Could you please help me debug this or guide me on what might be going wrong?

Any insights would be really appreciated – I’m keen to get this PR across the finish line.

Thanks again!

Thank you so much for ur continuous efforts on this PR @thedgarg31
I truly appreciate the time and dedication u have put into resolving the linting issue. I understand how frustrating it can be especially when everything passes locally but CI still fails.

I will also take a closer look at the CI logs to see if I can spot what is causing the issue. In the meantime feel free to shift ur focus to other repos or issues while we investigate this further.

Also tagging mentors @Lovchaudhary and @shreesriv12 for a detailed review of the PR when they get a chance ....it would really help me move this forward and get it merged.

@thedgarg31
Copy link
Author

Hi @Altair-05 @Lovchaudhary

Thank you so much for your continuous support, understanding, and guidance throughout this process . I truly appreciate the time you've all taken to review, test, and help troubleshoot the CI issues — especially when things got tricky with the environment behaving differently than local.

Huge thanks also for acknowledging the effort and encouraging me to stay focused — that really means a lot. I'm glad we've now reached a stable state with all checks passing and no conflicts .

Looking forward to the final review and happy to address any last-minute feedback if needed. Otherwise, excited to get this merged and move forward!

Thanks again!

@Lovchaudhary
Copy link
Collaborator

you have done a amazing work.. i have noticed the Ci logs issue and will check it throughly tomorrow

@Altair-05
Copy link
Owner

you have done a amazing work.. i have noticed the Ci logs issue and will check it throughly tomorrow

@Lovchaudhary once u have done with review plz tag me

@Lovchaudhary
Copy link
Collaborator

It’s safe to push. The CLI issue jo show up kar raha haai its just lint warnings, nothing major. ap pull kar sakte ho — no issues I’ll start working on fixing those lint warnings next.
@Altair-05

@Altair-05 Altair-05 closed this Sep 14, 2025
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.

4 participants