Skip to content

Conversation

@thejus03
Copy link
Contributor

@thejus03 thejus03 commented Dec 2, 2025

Context

Implementation

  • Added a new global variable called OPTIMISER_API_URL
  • Depending on the script that is run it assigns either http://localhost:8020/optimise or api/optimiser/optimise
  • Added a new script called yarn start:local for running the localhost api endpoint on the website
  • Updated the yarn start script to include the real endpoint for production
  • Updated the optimiser README to reflect the above changes

Updated on 21 Dec 2025

  • Add linting and formatting using golangci-lint library.
  • Update README for developers to lint and format themselves locally
  • Update CI to run lint and formatting and run the tests

- Added new global variable to assign the correct optimiser api
@vercel
Copy link

vercel bot commented Dec 2, 2025

@thejus03 is attempting to deploy a commit to the modsbot's projects Team on Vercel.

A member of the Team first needs to authorize it.

@codecov
Copy link

codecov bot commented Dec 2, 2025

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 55.14%. Comparing base (988c6fd) to head (426b592).
⚠️ Report is 152 commits behind head on master.

Files with missing lines Patch % Lines
website/src/apis/optimiser.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4263      +/-   ##
==========================================
+ Coverage   54.52%   55.14%   +0.62%     
==========================================
  Files         274      297      +23     
  Lines        6076     6729     +653     
  Branches     1455     1619     +164     
==========================================
+ Hits         3313     3711     +398     
- Misses       2763     3018     +255     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@thejus03 thejus03 changed the title Chore/dev–exp New script to start optimiser for developers Dec 3, 2025
@thejus03 thejus03 changed the title New script to start optimiser for developers Add new script to start optimiser for developers Dec 3, 2025
@thejus03 thejus03 changed the title Add new script to start optimiser for developers Improve dev experience and CI for optimiser Dec 21, 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.

Improve development experience for optimiser

1 participant