Skip to content

Develop - #85

Merged
bladehell-ai merged 4 commits into
mainfrom
develop
Aug 21, 2026
Merged

Develop#85
bladehell-ai merged 4 commits into
mainfrom
develop

Conversation

@bladehell-ai

Copy link
Copy Markdown
Collaborator

No description provided.

bladehell-ai and others added 4 commits August 21, 2026 14:30
…merge to main

A push to main took desktop/package.json literally: if that version had already
shipped, preflight set should_release=false and every build job was skipped, so
the merge produced no release at all and nothing failed loudly. package.json sat
at 1.0.43 while production was on v1.0.46. Shipping therefore meant committing a
bump to develop and merging to main a second time.

main now runs the same "bump patch until unreleased" loop develop already used,
so a develop -> main merge always ships. An explicit workflow_dispatch version is
still taken literally and still skipped when that release exists, so a release
number can be pinned by hand. v<x> and the dev prereleases v<x>-dev.<n> are
distinct tags and semver sorts the prerelease below the release, so promoting the
version the dev channel has been building is correct.

A new bump-develop-version job then writes the next patch back into
desktop/package.json on develop so the committed number tracks reality. It never
moves the version backwards, no-ops when already correct, and rebase-retries if
develop moved. It pushes to develop and never main: a bot commit touching
desktop/** on main would retrigger this workflow and immediately release the
bumped version.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The seven `scripts/prod-*` files are single-use fixes against LIVE data — a
specific incident, a specific date range, hardcoded prod user ids. They are not
tooling, and the danger of tracking them is that they read as tooling: someone
finds `prod-repair-august-legacy-entries-APPLY.sql` in the repo months later and
runs it against a database whose rows no longer match the assumptions it was
written under.

Neither carries a credential — both shell scripts read DB_PASSWORD out of the
prod app container at runtime — so this is about blast radius, not secrets.

`scripts/deploy.sh` and `scripts/scan-for-malware.sh` are permanent tooling,
already tracked, and unaffected: an ignore rule never untracks a tracked file,
and the pattern is anchored to the `prod-` prefix anyway.

Also ignores `*.tsbuildinfo`, a TypeScript incremental build artifact that has
no business in version control.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
…on-on-release

ci(desktop-release): auto-resolve the production version on merge to main
…scripts

chore: keep one-off prod data-repair scripts out of git
@bladehell-ai
bladehell-ai merged commit 44cd73e into main Aug 21, 2026
5 checks 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