fix(aws): serialise and diff port-mapping forwards; refuse the gateway sidecar's port
Opens hold a per-project lock and re-read the stored mappings, so overlapping saves converge on the last one without false 'in use' errors. Unchanged forwards keep their live connections. The sidecar's 4000 is refused while it runs (mappings reach workspace loopback). Stored rows that would be refused no longer block unrelated saves; they are skipped with a warning at connect. Port-mapping logs get their own prefix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
08c779ad36
commit
45aef8da7d
8 files changed
+447
-130
No files matched your search
@@ -164,8 +164,9 @@ export default function AccessSection({
|
||||
</span>
|
||||
{isAwsProject(project) ? (
|
||||
<p className="mt-0.5 mb-2 text-xs text-[var(--text-secondary)] leading-snug">
|
||||
Forward workspace ports to this machine while it is connected. TCP only.{" "}
|
||||
{AWS_PORTS_LOCALHOST_ONLY}.
|
||||
Forward workspace ports to this machine while it is connected. TCP only. A
|
||||
connection carrying traffic counts as activity, so it keeps the workspace from its
|
||||
idle stop. {AWS_PORTS_LOCALHOST_ONLY}.
|
||||
</p>
|
||||
) : (
|
||||
<p className="mt-0.5 mb-2 text-xs text-[var(--text-secondary)] leading-snug">
|
||||
|
||||
Reference in new issue
Block a user