Skip to content

Merge development into production - #470

Merged
rbruhn merged 9 commits into
mainfrom
development
Oct 3, 2026
Merged

rbruhn merged 9 commits into
mainfrom
development

Conversation

@rbruhn

@rbruhn rbruhn commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • promote the current development branch to production

Included

Deployment

  • Runs app:update-queries expedition-logo-paths after migrations: copies each referenced logo from uploads/expeditions/logos/medium/ to uploads/expeditions/logos/ and updates expeditions.logo_path (127 rows in production, all with medium files).
  • After it completes, set update_queries_operation back to '' in deploy.php.

Validation

  • development deployment completed; expedition logos verified on development

rbruhn and others added 9 commits October 3, 2026 12:20
Keep the MongoDB section added by the Boost update while preserving the
project-specific AGENTS.md guidance it overwrote, and note that the
development branch now deploys only on manual workflow runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hand edits to AGENTS.md are overwritten by boost:update. Store them where
Boost reads them instead:

- .ai/guidelines/deployments/core.blade.php overrides Boost's Laravel Cloud
  deployment guideline with the GitHub Actions/deployphp process.
- .ai/guidelines/frontend.md notes the project uses Laravel Mix, not Vite.
- .ai/rules/filament.md (recorded via record-rule) holds the Filament
  resource layout, scoped to app/Filament/**.

Commit .ai/guidelines and .ai/rules so they are shared; keep only the local
.ai/mcp config ignored. Regenerate CLAUDE.md and AGENTS.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Move project-specific AI guidance into Boost-managed sources
Fixes #465
ImageManager::read() no longer exists in intervention/image v4, so every thumbnail silently fell back to the default image. Add a feature test covering thumbnail generation.
Expedition uploads are now resized once to 636x416 (displayed at 318x208)
and stored at uploads/expeditions/logos/<file>, replacing the original/
and medium/ variants. Only the resized image was ever displayed.

- ImageUploadService: add fixed-size storage for expeditions and switch
  to Intervention v4 decode(); read() no longer exists, so variant
  creation had been failing silently.
- ExpeditionPresenter: rename showMediumLogo to showLogo and build the URL
  from logo_path without S3 exists() calls.
- ExpeditionService: delete only the stored logo file on replacement.
- Remove the expedition medium/original upload config keys.
- AppUpdateQueriesCommand: drop the completed WeDigBio phases, declare the
  --force option used by deploy, and add the expedition-logo-paths
  operation to copy medium logos to the new path and update logo_path.
- deploy.php: run app:update-queries after migrations with the
  expedition-logo-paths operation.

Closes #463
…-v4-decode

Use Intervention v4 decode() when generating thumbnails

Fixes #467
Store expedition logos as a single resized image
Fixes #466
No delete path removed logo_path from S3, so logos were left behind when
expeditions or projects were deleted.

- Add ExpeditionLogoObserver and ProjectLogoObserver, registered with the
  existing cache observers, to delete the stored logo after the record's
  delete commits. S3 failures are logged and do not block the delete.
- DeleteGroupJob now deletes each project through Eloquent; the group
  cascade fired no model events, so project logos were never removed.

Closes #468
Delete expedition and project logos when the record is deleted

Fixes #468
@rbruhn
rbruhn merged commit 3b0c3ea into main Oct 3, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
development — 66516de2 Deployed Oct 3, 2026 by rbruhn via build-and-deploy-development #273
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.

Delete expedition and project logos from S3 when the record is deleted Simplify expedition logo storage to a single resized image

1 participant