Skip to content

Split the log store, test a swarm stack in CI, add a Security section - #26

Merged
snaketech-tu merged 3 commits into
fix/small-thingsfrom
chore/upkeep
Nov 10, 2026
Merged

snaketech-tu merged 3 commits into
fix/small-thingsfrom
chore/upkeep

Conversation

@snaketech-tu

Copy link
Copy Markdown
Owner

Merge after "Small fixes from the review".

Changes

  • Store split: store.rs (2,400 lines) is now store/mod.rs with schema.rs, query.rs, retention.rs and export.rs beside it. This only moves code; the moved lines were compared one by one.

  • Swarm in CI: a new job e2e-swarm starts a single-node swarm and deploys dev/demo/stack.yaml. It checks:

    • replicated, global and crashing services
    • lines of all 3 replicas
    • whole stack traces
    • crash events with their exit code

    It runs apart from the Compose tests, because the crashing service fills Docker's short event history. The Compose job now runs --project ui --project read-only.

  • README: a Security section covers:

    • read-only access
    • the private SSH tunnel and its Windows exception
    • the sign-in token and Host check
    • --host 0.0.0.0
    • signed updates
    • how to report a problem

Tests

  • cargo test and clippy pass.
  • The swarm tests pass against a local swarm (3/3), and the Compose tests pass.

Only moves code: store.rs becomes store/mod.rs with four modules beside
it. Nothing changes in what the store does.
…ess private

- New CI job e2e-swarm: starts a single-node swarm, deploys the demo stack
  and checks replicas, global and crashing services, lines of every replica
  and whole stack traces (e2e/tests/swarm.spec.ts, project "swarm"). It
  runs on its own because the crashing service fills Docker's short event
  history, which the Compose tests read.
- README: a Security section (reads only, private SSH tunnel, sign-in
  token and Host check, --host 0.0.0.0, signed updates, how to report).
@snaketech-tu
snaketech-tu merged commit 0e36b64 into fix/small-things Nov 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant