Skip to content
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

Source Maps #42

Open
0x4007 opened this issue Jan 27, 2025 · 4 comments
Open

Source Maps #42

0x4007 opened this issue Jan 27, 2025 · 4 comments

Comments

@0x4007
Copy link
Member

0x4007 commented Jan 27, 2025

I think this is the right repository to file this issue in.

Set up TypeScript source maps for stack traces in embedded metadata by default.


<!-- UbiquityOS - createActionsPlugin - efc76ae24d3d81cca96498fb42a71cf6cf5ecb49 - @0x4007 - https://github.com/ubiquity-os-marketplace/text-vector-embeddings/actions/runs/12935959477
{
  "stack": "TypeError: Cannot read properties of null (reading 'node')\n    at /home/runner/work/text-vector-embeddings/text-vector-embeddings/dist/index.js:3:887347\n    at Array.forEach (&lt;anonymous&gt;)\n    at issueMatching (/home/runner/work/text-vector-embeddings/text-vector-embeddings/dist/index.js:3:887276)\n    at async runPlugin (/home/runner/work/text-vector-embeddings/text-vector-embeddings/dist/index.js:3:894026)\n    at async createActionsPlugin (/home/runner/work/text-vector-embeddings/text-vector-embeddings/dist/index.js:3:747275)",
  "caller": "createActionsPlugin"
}
-->

@gentlementlegen we really need source maps for these stack traces. I don't know whats causing this.

Originally posted by @0x4007 in #72

@0x4007
Copy link
Member Author

0x4007 commented Jan 27, 2025

@gentlementlegen rfc

@gentlementlegen
Copy link
Member

You can enable the source map in the compilation action, and it is unrelated to the SDK.

https://github.com/ubiquity-os/action-deploy-plugin/blob/main/action.yml#L26

@0x4007
Copy link
Member Author

0x4007 commented Jan 27, 2025

This should be on by default

@0x4007 0x4007 transferred this issue from ubiquity-os/plugin-sdk Jan 27, 2025
@0x4007 0x4007 added good first issue Good for newcomers and removed good first issue Good for newcomers labels Jan 29, 2025
Copy link

Important

  • Be sure to link a pull-request before the first reminder to avoid disqualification.
  • Reminders will be sent every 2 days and 8 hours if there is no activity.
  • Assignees will be disqualified after 4 days and 16 hours of inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants