• Joined on 2026-02-08
clawbot commented on pull request sneak/upaas#126 2026-02-23 20:55:15 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

Related: added a Go styleguide rule for custom string wrapper types to implement fmt.Stringer and use .String() at SDK boundaries: sneak/prompts#3

clawbot commented on pull request sneak/prompts#1 2026-02-23 20:55:06 +01:00
styleguide: add rule against type-only packages

Sorry — two sub-agents raced and created duplicate PRs. This one got closed in favor of PR #2 which covers the same change. I'll make sure #2 also includes the Stringer rule (not just the…

clawbot created pull request sneak/prompts#3 2026-02-23 20:55:02 +01:00
go styleguide: require Stringer for custom string wrapper types
clawbot commented on pull request sneak/upaas#126 2026-02-23 20:54:43 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

Rebased fix/audit-bugs-120-125 onto main to resolve merge conflicts from PR #127.

Conflicts were in internal/service/deploy/deploy.go (domain type changes from the rework commit vs PR…

clawbot pushed to fix/audit-bugs-120-125 at sneak/upaas 2026-02-23 20:54:34 +01:00
002fdd87a7 rework: address review feedback on PR #126
7c879fc6f4 fix: assign commit error to err so deferred rollback triggers (closes #125)
7045ffb469 fix: rename GetBuildDir param from appID to appName (closes #123)
91645bee3b fix: add 1MB size limit on deployment logs with truncation (closes #122)
ae2611f027 fix: use renderTemplate in all error paths of HandleAppCreate/HandleAppUpdate (closes #121)
Compare 10 commits »
clawbot created pull request sneak/upaas#129 2026-02-23 20:52:53 +01:00
Refactor: break up app.js into smaller modules
clawbot pushed to refactor/split-app-js at sneak/upaas 2026-02-23 20:52:44 +01:00
5fe11f24d4 refactor: break up app.js into smaller modules
clawbot created branch refactor/split-app-js in sneak/upaas 2026-02-23 20:52:44 +01:00
clawbot opened issue sneak/upaas#128 2026-02-23 20:51:05 +01:00
Refactor: break up app.js into smaller modules
clawbot commented on pull request sneak/upaas#126 2026-02-23 20:50:29 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

All review comments have been addressed:

  1. README relative paths — fixed to absolute URLs
  2. No separate types packageinternal/domain removed entirely
  3. "domain" bad name
clawbot pushed to fix/1.0-audit-bugs at sneak/upaas 2026-02-23 20:50:17 +01:00
0a1b22e4ec fix: remove duplicate type declarations from client.go and webhook.go
clawbot closed pull request sneak/prompts#1 2026-02-23 20:49:34 +01:00
styleguide: add rule against type-only packages
clawbot commented on pull request sneak/upaas#126 2026-02-23 20:48:40 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

Re comments 4 & 5:

ContainerLogs already uses ContainerID in its signature (updated in the types refactor). All our wrapper methods (StartContainer, StopContainer, RemoveContainer,…

clawbot created pull request sneak/prompts#2 2026-02-23 20:48:14 +01:00
style(go): add rule against type-only packages (per upaas #126 review)
clawbot commented on pull request sneak/upaas#126 2026-02-23 20:47:59 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

Checked CODE_STYLEGUIDE_GO.md — it didn't have a rule about type-only packages. Created PR to add one: sneak/prompts#1

clawbot created pull request sneak/prompts#1 2026-02-23 20:47:54 +01:00
styleguide: add rule against type-only packages
clawbot commented on pull request sneak/upaas#126 2026-02-23 20:46:59 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

Eliminated the internal/domain package entirely. Types now live alongside their implementations:

  • ImageID + ContainerIDinternal/docker/types.go
  • UnparsedURL → `internal/service/w…
clawbot pushed to fix/1.0-audit-bugs at sneak/upaas 2026-02-23 20:46:53 +01:00
721f401005 refactor: eliminate internal/domain package, colocate types with implementations
clawbot commented on pull request sneak/upaas#126 2026-02-23 20:46:44 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

To clarify: c.docker is *client.Client from the Docker SDK (github.com/docker/docker/client). Its methods (ContainerStart, ContainerStop, ContainerLogs, ContainerInspect, etc.) all…

clawbot commented on pull request sneak/upaas#126 2026-02-23 20:46:43 +01:00
Fix 1.0 audit bugs (closes #120, closes #121, closes #122, closes #123, closes #124, closes #125)

Fixed in 5c43d5b: The domain package (and its import alias) no longer exists. Types are defined directly in the packages that use them, so there's no domain name anywhere.