Skip to content

feat(alpha): expose self-hosted reset UI overlay#108

Closed
JSONbored wants to merge 2 commits into
codex/sure-alpha-preflight-readinessfrom
codex/sure-alpha-admin-reset
Closed

feat(alpha): expose self-hosted reset UI overlay#108
JSONbored wants to merge 2 commits into
codex/sure-alpha-preflight-readinessfrom
codex/sure-alpha-admin-reset

Conversation

@JSONbored
Copy link
Copy Markdown
Owner

@JSONbored JSONbored commented May 19, 2026

Summary

  • Carry the self-hosted admin financial reset UI in the alpha overlay until the pinned upstream image includes the upstream implementation.
  • Bump the alpha AIO revision to 0.7.1-alpha.7-aio.8 and keep the stable package untouched.
  • Clarify alpha WebAuthn/passkey setup docs and template text.

What changed

  • Added alpha overlay files for the reset service, reset job path, Settings -> Self-Hosting Danger Zone UI, reset dialog views, and Security view passkey guidance.
  • Added an alpha initializer that wires the reset routes/actions into the pinned upstream app at boot.
  • Updated alpha README/docs/changelog/release notes/XML to document the UI plus Rails task.
  • Updated alpha asset and runtime tests to prove the overlay files, routes, docs, beta marking, and template surface stay alpha-only.
  • Kept reset controls out of Unraid env/template knobs.

Why

  • Alpha operators need a visible self-hosted reset path before clean import certification without widening the stable package surface.
  • WebAuthn env vars only configure browser trust; passkeys are still added inside Sure after authenticator-app 2FA is enabled.

Screenshots

The alpha overlay carries the same Settings UI as the upstream PR:

Self-Hosting Danger Zone reset entry
Self-Hosting Danger Zone reset entry.
Dry-run counts confirmation modal
Dry-run review resolved scope and counts before deletion.
Typed confirmation validation
Typed confirmation validation before destructive reset.
Successful reset result counts
Reset complete deleted counts and after-state.

Validation

  • python -m pytest tests/test_alpha_lane_assets.py
  • python -m pytest tests/integration/test_container_runtime.py -k 'test_alpha_image_boots_with_version_import_limits_and_webauthn_env'
  • ruby -c rootfs-alpha/rails/app/models/family/financial_data_reset.rb
  • ruby -c rootfs-alpha/rails/app/jobs/family_reset_job.rb
  • ruby -c rootfs-alpha/rails/lib/tasks/sure_admin.rake
  • ruby -c rootfs-alpha/rails/config/initializers/sure_aio_alpha_admin_reset_ui.rb
  • git diff --check
  • CodeRabbit CLI was run; no security issues were reported.
  • Codex Security diff scan: no reportable issues found.

Notes

  • Draft stacked PR; base is the alpha preflight/readiness branch.
  • The reset UI is intentionally not exposed as an Unraid form/env control.
  • This overlay should be removed once the pinned upstream alpha image contains the upstream reset UI.

@JSONbored JSONbored changed the title feat(admin): add alpha financial reset overlay feat(alpha): expose self-hosted reset UI overlay May 19, 2026
@JSONbored JSONbored force-pushed the codex/sure-alpha-admin-reset branch from b09a799 to b1d24ad Compare May 19, 2026 03:33
@JSONbored JSONbored force-pushed the codex/sure-alpha-admin-reset branch from b1d24ad to 2c2ec99 Compare May 19, 2026 05:56
@JSONbored JSONbored self-assigned this May 19, 2026
@JSONbored JSONbored marked this pull request as ready for review May 19, 2026 06:08
@JSONbored JSONbored deleted the branch codex/sure-alpha-preflight-readiness May 19, 2026 07:19
@JSONbored JSONbored closed this May 19, 2026
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