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

Simulator doesn't support some cloud API features #6606

Open
eladb opened this issue May 30, 2024 · 3 comments
Open

Simulator doesn't support some cloud API features #6606

eladb opened this issue May 30, 2024 · 3 comments
Labels
🐛 bug Something isn't working 🎨 sdk SDK 🕹️ simulator Related to the `sim` compilation target

Comments

@eladb
Copy link
Contributor

eladb commented May 30, 2024

I tried this:

For example:

bring cloud;

new cloud.Queue(timeout: 5m);

This happened:

Error: Queue.timeout is not supported on the sim platform yet.
For more information see: https://github.com/winglang/wing/issues/1980.
Contributions welcome ❤️
  --> wing/main.w:3:1
  | bring cloud;
  | 
3 | new cloud.Queue(timeout: 5m);
  | ^
at /app/wing/main.w:3:1


I expected this:

It is crucial that sim will have support for all cloud API features. Even if it ignores them (with a message), we must not crash.

Is there a workaround?

No response

Anything else?

No response

Wing Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.
@eladb eladb added the 🐛 bug Something isn't working label May 30, 2024
@monadabot monadabot added this to Wing May 30, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New - not properly defined in Wing May 30, 2024
@staycoolcall911 staycoolcall911 moved this from 🆕 New - not properly defined to 🤝 Backlog - handoff to owners in Wing May 30, 2024
@staycoolcall911 staycoolcall911 added the 🕹️ simulator Related to the `sim` compilation target label May 30, 2024
@Chriscbr
Copy link
Contributor

Duplicate of #2401?

@eladb
Copy link
Contributor Author

eladb commented Jun 1, 2024

#2401 is one case. I want to make sure we support everything.

Copy link

Hi,

This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days.
Feel free to re-open this issue when there's an update or relevant information to be added.
Thanks!

@github-actions github-actions bot added the Stale label Aug 30, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2024
@github-project-automation github-project-automation bot moved this from 🤝 Backlog - handoff to owners to ✅ Done in Wing Sep 6, 2024
@Chriscbr Chriscbr reopened this Sep 6, 2024
@github-project-automation github-project-automation bot moved this from ✅ Done to 🤝 Backlog - handoff to owners in Wing Sep 6, 2024
@Chriscbr Chriscbr removed the Stale label Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🎨 sdk SDK 🕹️ simulator Related to the `sim` compilation target
Projects
Status: 🤝 Backlog - handoff to owners
Development

No branches or pull requests

3 participants