Repository navigation
ci: weekly pull request that bumps the @framers/* dependencies - #266
Conversation
agentos had no bump workflow: its ranges for @framers/sql-storage-adapter and @framers/agentos-extensions-registry moved only by hand. This is the workflow the rest of the family runs, copied from agentos-extensions with its script. The pull request is titled fix(deps) when a runtime dependency moved, so merging it publishes a patch, and chore(deps) when only a devDependency did. The lockfile refresh takes a third-party release only once it is a day old. ci.yml accepts workflow_dispatch so the bump job can run CI on its branch, declares a read-only token, and skips the Codecov upload on a dispatched run, so that run reads no repository secret.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reached
This review includes 3 billable files and costs up to $0.75.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 8 minutes for your next included review. View limit details
Comment |
Reviewer's GuideIntroduces a weekly/manual @Framers dependency bump pipeline that safely updates manifests and the lockfile, opens a release-aware pull request, and explicitly dispatches and reports CI for the token-created branch without exposing Codecov secrets. Sequence diagram for the weekly @Framers dependency bumpsequenceDiagram
participant Scheduler as GitHub Scheduler
participant Workflow as bump-framers-deps.yml
participant Script as bump-framers-deps.py
participant NPM as npm Registry
participant PNPM as pnpm
participant GitHub as GitHub Pull Request
Scheduler->>Workflow: Start scheduled or workflow_dispatch run
Workflow->>Script: Run self_check and bump tracked manifests
Script->>NPM: npm view package@latest version
NPM-->>Script: Latest published versions
Script-->>Workflow: Updated package.json pins
Workflow->>PNPM: pnpm install --no-frozen-lockfile --ignore-scripts
PNPM-->>Workflow: Refreshed pnpm-lock.yaml
Workflow->>PNPM: pnpm install --frozen-lockfile --ignore-scripts
PNPM-->>Workflow: Lockfile validation succeeds
Workflow->>GitHub: Create or update release-aware pull request
GitHub-->>Workflow: Pull request operation, branch, SHA, number
Sequence diagram for dispatched CI on the dependency bump branchsequenceDiagram
participant Bump as bump-framers-deps.yml
participant GitHub as GitHub Actions API
participant CI as ci.yml
participant Codecov as Codecov
Bump->>GitHub: Dispatch ci.yml on pull request branch
GitHub->>CI: Start workflow_dispatch run
CI->>CI: Run tests and coverage
alt workflow_dispatch event
CI-->>Bump: Workflow completes without Codecov upload
else pull_request event
CI->>Codecov: Upload coverage using CODECOV_TOKEN
Codecov-->>CI: Upload result
CI-->>Bump: Workflow completes
end
Bump->>GitHub: Post CI (workflow_dispatch) commit status
Flow diagram for release-aware dependency bump pull requestsflowchart TD
A[Discover @framers/* pins] --> B[Resolve latest npm releases]
B --> C[Rewrite safe semver ranges]
C --> D[Refresh and validate pnpm-lock.yaml]
D --> E{Runtime dependency changed?}
E -->|Yes| F["fix(deps) pull request"]
E -->|No| G["chore(deps) pull request"]
F --> H[Patch release on merge]
G --> I[No package release on merge]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
PR Summary by QodoAutomate weekly @Framers dependency bump pull requests
AI Description
Diagram
High-Level Assessment
Files changed (3)
|
Code Review by Qodo
1.
|
The script's own checks cover its rewriting rules on fixtures, not the run against a repository: finding the tracked manifests, asking npm, writing the files, and refreshing the lockfile under the release-age rule. A pull request that changes the workflow or the script now runs all of that in a dry-run job with a read-only token and opens no pull request. The workflow's default token is read-only; the bump job alone can write.
A refresh that ignored the setting would look the same as one that applied it. The job reads the value back from pnpm before installing and stops if it is not the one it wrote.
|
@codex review |
|
@coderabbitai review |
|
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
## [0.13.50](v0.13.49...v0.13.50) (2026-10-11) ### feat * **vision:** a cloudTask option asks the cloud tier for the text alone (#301) ([2552104](2552104)) ### fix * **deps:** bump @framers/* deps to latest published versions (#303) ([6278c44](6278c44)) ### ci * weekly pull request that bumps the @framers/* dependencies (#266) ([a9cad59](a9cad59))
Summary
agentos had no dependency bump workflow: its ranges for
@framers/sql-storage-adapter(a runtime dependency) and@framers/agentos-extensions-registry(a devDependency) moved only when someone edited them. This adds the workflow the rest of the family runs, copied from agentos-extensions with its script (.github/scripts/bump-framers-deps.py), with these differences:fix(deps)when a runtime dependency moved, so merging it publishes a patch and the published package carries the new range. It is titledchore(deps)when only a devDependency moved, so merging publishes nothing.minimumReleaseAge: 1440, pnpm 10.16 and later), with@framers/*exempt. The setting lives in apnpm-workspace.yamlthe job writes and removes again; a second install with--frozen-lockfilethen proves the lockfile stands without it.package.jsonandpnpm-lock.yamlare committed.dry-runjob runs on a pull request that touches the workflow or its script, so a change to either is exercised before it merges. It has read-only permissions and opens nothing.ci.ymlchanges so the bump job can run CI on its branch (a pull request opened withGITHUB_TOKENstarts nopull_requestrun):workflow_dispatch.permissions: contents: read. The repository's default workflow token can write, and a dispatched run on the bump branch runs dependency code nobody has read yet.Linked issues
None.
Type of change
How this was verified
The CI run on this pull request exercises the changed
ci.yml(thepull_requestpath; the Codecov step still runs there). Thedry-runjob ran on this pull request (run 38078996702): the script ran against npm, the lockfile refresh ran the way the weekly job runs it, and no file other thanpackage.jsonandpnpm-lock.yamlchanged. The run printedminimumReleaseAge in effect: 1440, so pnpm reads the setting from thepnpm-workspace.yamlthe job writes. Thebumpandcijobs, which open the pull request and dispatch CI on its branch, run for the first time when the workflow is dispatched after this merges; I will dispatch it once and read its run.Migration notes
None.
Checklist
!before the colon for a change that breaks users (feat!:orfeat(api)!:).Summary by Sourcery
Automate safe weekly @Framers dependency updates with lockfile refreshes, release-aware pull requests, and isolated CI validation.
New Features:
Bug Fixes:
Enhancements:
CI:
Tests: