[Tracking Issue] Range limits of cloud resources
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 215
- Avg merge
- 2h 9m
- Merged PRs (30d)
- 27
Description
Feature Spec
As originally discussed here, this issue aims to track the range limits of each cloud resource in the Wing SDK. By doing so, we can throw errors at compile time based on the target chosen by the user.
cloud.Queue
| Description | Cloud Provider | Service | SDK Property Name | Default Value | Min Value | Max Value |
|---|---|---|---|---|---|---|
| Visibility Timeout | AWS | SQS | VisibilityTimeout |
30s | 0s | 12h |
| GCP | Cloud Pub/Sub | ackDeadlineSeconds |
10s | 0s | 10m | |
| Azure | Service Bus | - | - | - | - | |
| Message Retention | AWS | SQS | MessageRetentionPeriod |
4d | 1m | 14d |
| GCP | Cloud Pub/Sub | retentionDuration |
7d | 10m | 7d | |
| Azure | Service Bus | - | - | - | - |
Use Cases
Notify the user of any invalid range values prior to deployment.
Implementation Notes
No response
Component
SDK
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.
- If this issue is labeled needs-discussion, it means the spec has not been finalized yet. Please reach out on the #dev channel in the Wing Slack.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Feature Spec and the discussion in pull request 4541, then inspect the Wing SDK implementation for cloud.Queue. The issue lists provider-specific limits for visibility timeout and message retention, but does not name files or tests. Done would require finalized range validation before deployment, with the broader resource scope resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100