Skip to content

Conversation

obscurerichard
Copy link
Contributor

  • Remove deprecated copilot usage API

Resolves #180

This gets the software running without errors, but I can't really vouch for its complete correctness as I'm just starting to test this software myself.

Copilot Workspace helped get this started, see:

obscurerichard and others added 3 commits March 28, 2025 18:31
Remove references to deprecated `/copilot/usage` API.

* **Deleted files:**
  - `backend/src/controllers/usage.controller.ts`
  - `backend/src/models/usage.model.ts`

* **Modified files:**
  - `backend/src/database.ts`: Remove `Usage` schema setup.
  - `backend/src/routes/index.ts`: Remove route for `/usage`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/tweag/github-value?shareId=XXXX-XXXX-XXXX-XXXX).
Copy link
Owner

@austenstone austenstone left a comment

Choose a reason for hiding this comment

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

Good. API deprecated

@austenstone austenstone enabled auto-merge April 3, 2025 19:30
@austenstone austenstone disabled auto-merge April 3, 2025 19:31
@austenstone austenstone merged commit e00d604 into austenstone:main Apr 3, 2025
11 checks passed
@austenstone
Copy link
Owner

Thanks for getting involved! 👍

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.

[Bug] github-value relies on sunsetted /copilot/usage endpoint
2 participants