Skip to content

Automate the hand fixes of the ember-observer upgrade - #55

Merged
NullVoxPopuli-ai-agent merged 1 commit into
mainfrom
nvp/save-requests
Nov 25, 2026
Merged

NullVoxPopuli-ai-agent merged 1 commit into
mainfrom
nvp/save-requests

Conversation

@NullVoxPopuli-ai-agent

Copy link
Copy Markdown
Collaborator

The 3 hand commits on emberobserver/client#241 now come from generic stages, so every app gets the same fixes.

  • warp-drive: record.save() becomes this.store.request(saveRecord(record)). This happens only in a class with services, and only when nothing reads the value, because the request resolves with a document, not the record. A function callback without its own this becomes an arrow function. The class gets @service store when it has other services and no store. Other calls stay in the progress todo.
  • ci-workflows (new): GitHub Actions workflows run pnpm (pnpm/action-setup, cache: pnpm, install, and the scripts that the upgrade kept, so test:ember becomes test). A node-version below 22 becomes 24. The workflows go out of the package-manager progress note.
  • default-query-params (new, after ember-source 7.4): test URLs compared with currentURL() lose name=value when the value is the controller default. Ember 3's router service wrote those, and Ember 7 does not.
  • update-ember-power-select: in tests, click() on an element with a class from a PowerSelect option block becomes triggerEvent(target, 'click').

The ember-observer trial starts from 5c64a06, the commit with its workflow, and no longer applies ember-observer-header-search.patch.

🤖 Generated with Claude Code

- warp-drive: `record.save()` becomes `this.store.request(saveRecord(record))` in classes with services, when nothing reads its value.
- ci-workflows: GitHub Actions workflows run pnpm, and Node.js 24 when they set a version that Vite does not run on.
- default-query-params: test URLs lose the query params with the controller's default value, which Ember 7 leaves out.
- update-ember-power-select: a test click on an element in an option becomes `triggerEvent(target, 'click')`.

The ember-observer trial starts from the commit with its workflow, and needs no patch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@NullVoxPopuli-ai-agent
NullVoxPopuli-ai-agent merged commit 13776a6 into main Nov 25, 2026
14 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 25, 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.

2 participants