Repository navigation
chore(release): 2.3.8 - #2805
Conversation
Reviewer's GuideConfigurationBump the package release version and update the Swarm deployment to use image v2.3.8.
DocumentationDocument the 2.3.8 release and its fixes and build changes.
Lock files and vendored codeUpdate the generated lockfile to match the 2.3.8 package release.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="Docker/swarm/evolution_api_v2.yaml" line_range="5" />
<code_context>
services:
evolution_v2:
- image: evoapicloud/evolution-api:v2.3.7
+ image: evoapicloud/evolution-api:v2.3.8
volumes:
- evolution_instances:/evolution/instances
</code_context>
<issue_to_address>
**Swarm deployment cannot pull release image**
When the Swarm file is applied after merge but before the `2.3.8` tag workflow pushes the image, docker Swarm cannot pull `evoapicloud/evolution-api:v2.3.8`, so replacement tasks fail to start and the deployment stays on the previous version or becomes stuck.
Keep the Swarm image reference on the currently published tag until the `2.3.8` image has been pushed.
</issue_to_address>
### Comment 2
<location path="package.json" line_range="3" />
<code_context>
{
"name": "evolution-api",
- "version": "2.3.7",
+ "version": "2.3.8",
"lockfileVersion": 3,
"requires": true,
</code_context>
<issue_to_address>
**Image reports stale version**
When the release image is built from this version bump, the Dockerfile hard-codes the image `version` label as `2.3.1`, so the `2.3.8` image reports the wrong release version to `docker inspect` and label-based tooling.
Set the Docker image version label from the package version instead of hard-coding `2.3.1`.
</issue_to_address>Sourcery assessment
Approval pending. 1 finding to address first.
Blocking findings: Docker/swarm/evolution_api_v2.yaml:5
| services: | ||
| evolution_v2: | ||
| image: evoapicloud/evolution-api:v2.3.7 | ||
| image: evoapicloud/evolution-api:v2.3.8 |
There was a problem hiding this comment.
🟡 Medium · Swarm deployment cannot pull release image
When the Swarm file is applied after merge but before the 2.3.8 tag workflow pushes the image, docker Swarm cannot pull evoapicloud/evolution-api:v2.3.8, so replacement tasks fail to start and the deployment stays on the previous version or becomes stuck.
Keep the Swarm image reference on the currently published tag until the 2.3.8 image has been pushed.
Prompt for AI agents
In `Docker/swarm/evolution_api_v2.yaml` at line 5:
**Swarm deployment cannot pull release image**
When the Swarm file is applied after merge but before the `2.3.8` tag workflow pushes the image, docker Swarm cannot pull `evoapicloud/evolution-api:v2.3.8`, so replacement tasks fail to start and the deployment stays on the previous version or becomes stuck.
Keep the Swarm image reference on the currently published tag until the `2.3.8` image has been pushed.| { | ||
| "name": "evolution-api", | ||
| "version": "2.3.7", | ||
| "version": "2.3.8", |
There was a problem hiding this comment.
⚪ Low · Image reports stale version
When the release image is built from this version bump, the Dockerfile hard-codes the image version label as 2.3.1, so the 2.3.8 image reports the wrong release version to docker inspect and label-based tooling.
Set the Docker image version label from the package version instead of hard-coding 2.3.1.
Prompt for AI agents
In `package.json` at line 3:
**Image reports stale version**
When the release image is built from this version bump, the Dockerfile hard-codes the image `version` label as `2.3.1`, so the `2.3.8` image reports the wrong release version to `docker inspect` and label-based tooling.
Set the Docker image version label from the package version instead of hard-coding `2.3.1`.
📋 Description
Release 2.3.8: 2.3.7 plus the Baileys
<status>ack fix already onmain(#2788, #2804). This PR only bumps the version and adds the CHANGELOG entry.package.json/package-lock.json:2.3.7→2.3.8Docker/swarm/evolution_api_v2.yaml: imagev2.3.8CHANGELOG.md: 2.3.8 sectionMerging publishes. The push to
mainrebuildsevoapicloud/evolution-api:latest. The numbered imagev2.3.8comes from a2.3.8tag on the merge commit, created after the merge.🔗 Related Issue
#2788, #2804
🧪 Type of Change
🧪 Testing
npm run buildandnpm run lint:check(pre-push hook).evoapicloud/evolution-api:latestbuilt from the currentmainships the patched Baileys (CB:statushandler and the offline queue guard present innode_modules/baileys).✅ Checklist
Summary by Sourcery
Release version 2.3.8 with the Baileys status acknowledgement fix and updated deployment metadata.
Bug Fixes:
Build:
Deployment:
Documentation:
Chores: