Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: TinyCloudLabs/tinycloud-node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.0
Choose a base ref
...
head repository: TinyCloudLabs/tinycloud-node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.1
Choose a head ref
  • 8 commits
  • 11 files changed
  • 4 contributors

Commits on Mar 12, 2026

  1. Add dstack CI build job and fix dstack compose config (#34)

    Add a build-dstack job to docker.yml that builds with
    CARGO_FEATURES=dstack and tags as :dstack / :dstack-<sha> /
    :<version>-dstack. Only runs on push to main and releases.
    
    Fix docker-compose.dstack-postgres.yaml:
    - Use :dstack image tag instead of :latest
    - Add restart: unless-stopped
    - Remove port 8001 (admin via phala ssh only)
    skgbafa authored Mar 12, 2026
    Configuration menu
    Copy the full SHA
    1e5336f View commit details
    Browse the repository at this point in the history
  2. fix: update dstack GetKey response to match new API format (#35)

    The dstack API changed its /GetKey endpoint response from
    `{"asBytes": "<hex>"}` to `{"key": "<hex>"}`, causing a
    deserialization crash on Phala Cloud.
    skgbafa authored Mar 12, 2026
    Configuration menu
    Copy the full SHA
    3b958da View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2026

  1. fix: include CA certificates in scratch runtime image (#36)

    The scratch-based Docker image has no CA certificate bundle, causing
    `no CA certificates found` panics when making HTTPS connections to
    external services (Neon Postgres, Hetzner S3). Copy the cert bundle
    from the Alpine builder stage.
    skgbafa authored Mar 13, 2026
    Configuration menu
    Copy the full SHA
    fd6c4df View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2026

  1. fix: add AWS_DEFAULT_REGION to dstack compose, revert to :dstack tag (#…

    …37)
    
    S3-compatible providers (Hetzner, etc.) require a region param.
    Add AWS_DEFAULT_REGION from env file. Revert pinned SHA tag back to :dstack.
    skgbafa authored Mar 14, 2026
    Configuration menu
    Copy the full SHA
    cfd0266 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2026

  1. fix: add /tmp directory to scratch runtime image (#38)

    The scratch base image has no /tmp directory, causing "No such file or
    directory" errors on write operations that use temp files. Create an
    empty /tmp with sticky bit in the builder and copy to runtime.
    skgbafa authored Mar 15, 2026
    Configuration menu
    Copy the full SHA
    e2590f4 View commit details
    Browse the repository at this point in the history
  2. fix: set TMPDIR=/data for scratch runtime (#39)

    * fix: add /tmp directory to scratch runtime image
    
    The scratch base image has no /tmp directory, causing "No such file or
    directory" errors on write operations that use temp files. Create an
    empty /tmp with sticky bit in the builder and copy to runtime.
    
    * fix: set TMPDIR=/data in Dockerfile for scratch runtime
    
    The scratch base image has no /tmp directory and no writable temp location.
    Set TMPDIR to /data which is owned by the tinycloud user and always exists.
    skgbafa authored Mar 15, 2026
    Configuration menu
    Copy the full SHA
    cb9969d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2026

  1. fix(core): flush in-memory SQL databases to file on actor shutdown (#40)

    * fix(core): flush in-memory SQL databases to file on actor shutdown
    
    SQL database actors start with an in-memory SQLite instance and only
    promote to file storage when data exceeds the memory_threshold (10 MiB).
    Small databases never hit this threshold, so when the actor shuts down
    after the 5-minute idle timeout, all data is silently lost.
    
    This adds a flush step just before the actor exits: if the database is
    still in-memory and contains any data, it is promoted to file via the
    existing SQLite backup API. On the next request, the actor sees the file
    and opens from disk — data survives across idle cycles.
    
    KV is unaffected because it writes to the server's main persistent
    database immediately. This only impacts the per-space SQLite service.
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    * chore: add changeset for SQL flush fix
    
    Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
    rsvistel and claude authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    c1376df View commit details
    Browse the repository at this point in the history
  2. chore: version packages (#41)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    9611266 View commit details
    Browse the repository at this point in the history
Loading