Skip to content

fix(galactica): validate and retry writer key activation - #3230

Merged
shunkakinoki merged 2 commits into
mainfrom
codex/galactica-agenix-headless-review-fixes
Oct 27, 2026
Merged

shunkakinoki merged 2 commits into
mainfrom
codex/galactica-agenix-headless-review-fixes

Conversation

@shunkakinoki

Copy link
Copy Markdown
Owner

Follow-up to #3226, which merged before its review fixes reached the PR branch.

Before: the dedicated writer-key launchd job ran once without retry or a diagnostic log, and the Galactica eval test still dereferenced the removed agenix secret.

After: the job retries failed decryption at a bounded interval, writes to /var/log/kyber-writer-key.log, and the eval test checks the dedicated daemon and absence of the old agenix declaration.

Validation: nix build --no-link '.#checks.aarch64-darwin.eval-darwin-galactica', make build HOST=galactica, nixfmt, and git diff --check passed. Activation is pending this corrective merge.

@indent

indent Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Warning

This organization's free trial has ended, so Indent couldn't continue this review. Manage billing to resume reviews on this repository.

CI Checks

All required CI checks passed on 921376f.

Review agents

Select any unchecked box below to run or rerun that agent.

Pending (1)
  • Indent Review Agent · This agent has not run.
Full results

Indent Review Agent

  • Summary: This agent has not run.
  • Latest resultNo result — this agent has not run.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 34 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f8444cfe-75a3-4f6f-8115-c1ac3803aef8
Commits

Reviewing files that changed from the base of the PR and between fba44b4 and 921376f.

Files selected for processing: 2
  • named-hosts/galactica/default.nix
  • tests/eval.nix
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@shunkakinoki
shunkakinoki marked this pull request as ready for review October 27, 2026 15:45

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

View guided diff | Turn on auto-fix | Re-trigger cubic

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes: PR #3230 ("fix(galactica): validate and retry writer key activation") touches 2 files across the galactica host configuration and its eval tests. The writer-key launchd daemon now retries on failure with a 60-second throttle interval and logs to /var/log/kyber-writer-key.log. The eval test validates the new daemon config and ensures the old agenix secret path is removed.

Files modified:

  • named-hosts/galactica/default.nix — added KeepAlive.SuccessfulExit = false, ThrottleInterval = 60, and StandardOutPath/StandardErrorPath to the writer-key daemon service config
  • tests/eval.nix — replaced agenix secret assertions with daemon config assertions; added script content check

Pullfrog  | View workflow run | Using free | 𝕏

@shunkakinoki
shunkakinoki merged commit ebacdab into main Oct 27, 2026
8 of 9 checks passed
@shunkakinoki
shunkakinoki deleted the codex/galactica-agenix-headless-review-fixes branch October 27, 2026 15:49
@linear-code

linear-code Bot commented Oct 27, 2026

Copy link
Copy Markdown

SHUN-32709

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