winglang / winglang/wing

[Tracking Issue] Range limits of cloud resources

Open
#4,584 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

✨ enhancement 🎨 sdk needs-discussion
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.