Comments (6)
Actually, it seems a lot of classes' fields defined in the TspClient do not correspond to the values described in the trace server protocol: https://github.com/theia-ide/trace-server-protocol/blob/master/API.yaml
For instance, the state from the TspClient has a startTime and duration, while the TSP plans for start/end.
IIUC, these values should match perfectly, right? So both TspClient and trace server should be updated
from tsp-typescript-client.
Thank eslint for highlighting this ;-)
from tsp-typescript-client.
Yes, we need to align the TSP, server and client implementation
from tsp-typescript-client.
I'll start fixing this. Do we take the trace-server-protocol as the source of truth for this and fix the rest?
from tsp-typescript-client.
I'll start fixing this. Do we take the trace-server-protocol as the source of truth for this and fix the rest?
The code should reflect what the TSP defines. However, if a name doesn't fit or is not consistent, you can update the TSP as well and then align the code implementation.
from tsp-typescript-client.
First steps for fixing this:
Fix the trace server protocol: eclipse-cdt-cloud/trace-server-protocol#27
Make the trace server behave according to the spec: https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/167256
from tsp-typescript-client.
Related Issues (12)
- [license] src/index.ts has EPL license header HOT 1
- Provide separate README file for NPM package
- PUT to update experiments should not use actions in payload
- Add utility to support json serialization/deserialization with JSONBigInt HOT 3
- Responses with no body cause uncaught exception HOT 1
- Version numbers go "backwards" sometimes
- NPM deployment fails with Travis HOT 4
- Set up Prettier to enforce code style
- Update to recent version of lerna dependency
- Update to Node 18
- Perform automated 3PP license check as part of CI for PRs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsp-typescript-client.