Skip to content

Add --rerender flag to run command#46

Merged
ostafen merged 2 commits into
mainfrom
feat/render-mode
Jun 23, 2026
Merged

Add --rerender flag to run command#46
ostafen merged 2 commits into
mainfrom
feat/render-mode

Conversation

@ostafen

@ostafen ostafen commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

When set, each script is re-rendered from its source file at the start of every cycle through its steps, regenerating template values such as randomObjectID for each cycle instead of baking them in once at startup.

  • scriptSource records a script's origin (file, vars, document index) and re-renders it on demand via config.Load + Prepare.
  • StepForward swaps in a freshly rendered script at each cycle boundary (numExecuted % len(steps) == 0); render errors log a warning and reuse the previous render.
  • RunWorker copies the source into each per-worker context, so re-rendering is per-worker.

Description

Testing

References

ostafen added 2 commits June 23, 2026 13:07
When set, each script is re-rendered from its source file at the start of
every cycle through its steps, regenerating template values such as
randomObjectID for each cycle instead of baking them in once at startup.

- scriptSource records a script's origin (file, vars, document index) and
  re-renders it on demand via config.Load + Prepare.
- StepForward swaps in a freshly rendered script at each cycle boundary
  (numExecuted % len(steps) == 0); render errors log a warning and reuse the
  previous render.
- RunWorker copies the source into each per-worker context, so re-rendering
  is per-worker.
Add a nightly workflow that builds and pushes thumper images on every push
to main, mirroring SpiceDB's nightly setup but adapted to thumper's existing
release pipeline (no snaps, ko-based multi-arch, no buildx).

- .github/workflows/nightly.yaml: push-to-main trigger running goreleaser
  with the nightly config.
- .goreleaser.nightly.yaml: builds linux amd64/arm64 images to the existing
  authzed / ghcr.io/authzed / quay.io/authzed repos, tagged only with a
  commit-based version (no "latest") so release images are never overwritten.
@ostafen ostafen merged commit 2cb8ad9 into main Jun 23, 2026
7 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants