Skip to content

refactor(tamanu): remove unused greenmask command and tamanu alert#503

Open
passcod wants to merge 1 commit into
tamanu-database-urlfrom
remove-greenmask-tamanu-alert
Open

refactor(tamanu): remove unused greenmask command and tamanu alert#503
passcod wants to merge 1 commit into
tamanu-database-urlfrom
remove-greenmask-tamanu-alert

Conversation

@passcod

@passcod passcod commented Jun 18, 2026

Copy link
Copy Markdown
Member

🤖 Removes two things from bestool tamanu.

Stacked on #502 (tamanu-database-url) — that PR modified greenmask_config.rs, so removing the file is done on top of it to avoid a modify/delete conflict. Base this on #502, not main.

Removed

  • bestool tamanu greenmask_config — the greenmask config generator, unused. Deletes the command and its tamanu-greenmask feature (dropped from the tamanu umbrella).
  • bestool tamanu alert — a remnant of an earlier alerting paradigm, superseded by the top-level bestool alertd daemon.

Kept

  • bestool tamanu alertd stays as a thin alias delegating to the top-level bestool alertd. The top-level command is unchanged.

Knock-on

  • Drops the dunce and serde_yaml dependencies — greenmask was their only user.
  • walkdir and bestool-psql stay (used by backup_configs / psql / audit_psql).
  • USAGE.md regenerated.

The greenmask config generator is unused. `bestool tamanu alert` was a
remnant of an earlier alerting paradigm that has been superseded by the
top-level `bestool alertd` daemon, so drop it; `bestool tamanu alertd`
stays as an alias to the top-level command.

Removes the now-unused `dunce` and `serde_yaml` dependencies (greenmask was
their only user).

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@passcod passcod force-pushed the remove-greenmask-tamanu-alert branch from 9d417d2 to ceacd3d Compare June 18, 2026 15:09
@passcod passcod changed the title refactor(tamanu): remove unused greenmask and tamanu alert commands refactor(tamanu): remove unused greenmask command and tamanu alert Jun 18, 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