4.19.2 Release checklist
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 5/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- docker, github-actions, javascript
- Ambito
- build-system, release
Direzione di ricerca
This is a maintainer release checklist with every item already ticked, so there is no code change to start from. The files it names are CHANGELOG.md, package.json, package-lock.json, servicingPlan.json and the root docker-compose.yml and Dockerfile*. A newcomer would need the release process itself to act on it, so it is not a first task.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Checklist
Build
-
Bump MockBot to latest Bot Framework SDK release(not needed for patch release) -
Bumpbotframework-directlinejsto0.15.5in PR #XXX - Update README.md with feature notes
- Bump to
4.19.2- Update
CHANGELOG.mdto mark specific changes in4.19.2 - Run
npm version --no-git-tag-version 4.19.2 - Merged into
v4.19.2, the PR number is #5869 - Commit is
35afdb3 - Do not merge any other unrelated changes after this PR. Any other PR merged, will need to be re-tested
- Update
- Run build pipeline manually, set "Generate_Prod_Version_Number" to
true- (This will not push to NPM or CDN)
- Pipeline name is
BotFramework-WebChat-Buddy - The build number is
20261008.2and commit is35afdb3
- Run and wait for
WebChat-release-testingpipeline to complete- Create a new tag/release
v4.19.2onWebChat-release-testingrepo - Download
*.tgzfrom the build - Compress
*.tgzintotarballs.tar - Attach
tarballs.tarto the release - Run the job with "Tag to deploy from" of
v4.19.2 - The job ID is
106
- Create a new tag/release
-
Check component governance and make sure there are no high/critical related to code under(We are on QFE)/packages/folder- There could be some for projects under
/samples/folder, as they are pointing to previous version of Web Chat
- There could be some for projects under
-
Add manual tests toWebChat-release-testingas needed
Test
The test should run against the build artifacts from Azure Pipelines.
- Manual testing on major browsers using
webchat-release-testing- Before starting testing, update all the browser version to latest
- Chrome 154.0.8037.99
- Edge 154.0.4258.62
- Firefox 157.0.1
-
IE11 (Windows 11 22H2 23531.1001) -
macOS Safari 18.5 (xxxxx.x.xx.xxx.x) - iOS Safari 26.7
- iPadOS Safari 26.6.1
- Android Chrome 154.0.8037.92
-
Test specific fixes related to4.19.2and previous releases
Note: when the bot is sending a long message (say,
markdown) via Direct Line Speech, the service may kill the connection. This is an issue on Direct Line Speech service and is not an issue about Web Chat.
Release
- Make sure you are on
mainorbranch, runqfegit statusto check -
git pull -ff - Verify
/package.json,/package-lock.json, andCHANGELOG.mdhas a version of4.19.2 -
git log- Verify the latest commit is
35afdb3
- Verify the latest commit is
-
git tag v4.19.2 -
git push -u upstream v4.19.2- You do not need to kick off a build again, use the existing build
- Create a new GitHub release
- Copy entries from
CHANGELOG.md - Subresource Integrity can be generated by
- From local:
for file in $(ls *.js); do echo $file $(cat $file | openssl dgst -sha384 -binary | openssl base64 -A); done - From CDN:
curl -H 'Accept-Encoding: gzip' https://cdn.botframework.com/botframework-webchat/4.19.2/webchat.js | gunzip - | openssl dgst -sha384 -binary | openssl base64 -A
- From local:
- Attach assets including 3 JS files,
stats.jsonand 6 tarballs- You can copy the artifacts from the
BotFramework-WebChat-Officialbuild - Tarballs download from npmjs
curl -LO https://registry.npmjs.org/botframework-directlinespeech-sdk/-/botframework-directlinespeech-sdk-4.19.2.tgz curl -LO https://registry.npmjs.org/botframework-webchat/-/botframework-webchat-4.19.2.tgz curl -LO https://registry.npmjs.org/botframework-webchat-core/-/botframework-webchat-core-4.19.2.tgz curl -LO https://registry.npmjs.org/botframework-webchat-api/-/botframework-webchat-api-4.19.2.tgz curl -LO https://registry.npmjs.org/botframework-webchat-component/-/botframework-webchat-component-4.19.2.tgz
- You can copy the artifacts from the
- Copy entries from
- Kick off release to NPM
- Release name is
[ESRP] Nightly release - The build number is 20261008.2
- The release number is
20261008.1and commit is35afdb3 - Retain the release indefinitely
- Release name is
-
Kick off release to CDN (cutoff at 10 PM PST, Sun-Wed only)-
Prepare the message for approval-
If there are any breaking changes, explain in the email if it will affect any customers - Release name is
[[PROD]]Push-WebChat-Official-to-Prod-CDN-with-approval - The build number is
XXXXXX, release number is6and commit isxxxxxxx - Script build number is
320590(this is fixed)
-
-
Send message to approvers -
Retain the build indefinitely
-
Post-release verification - complete within 30 minutes after release to NPM
- Test using
webchat-release-testing- Run and wait for
WebChat-release-testingpipeline to complete- Run the job with "Version to deploy" of
4.19.2 - The job ID is
xxx
- Run the job with "Version to deploy" of
- Clone the GH Pages and check SHA
- Using script tags from https://github.com/microsoft/BotFramework-WebChat/releases/tag/v4.19.2, with subresource integrity
<script crossorigin="anonymous" integrity="sha384-ERvWMqZ/DEbYmsceJGEv19b+JMB1Z7LdOWfTmNqxR+CoSPu9K4IrStj7AJ9oqhgM" src="https://github.com/microsoft/BotFramework-WebChat/releases/download/v4.19.2/webchat.js" ></script> <script crossorigin="anonymous" integrity="sha384-9Lgcr0JMafYUZ3cTDrfbd5z+qdjKX83cV+nf7x/rSE5OAySwf/hRaMtYK2B8KMxi" src="https://github.com/microsoft/BotFramework-WebChat/releases/download/v4.19.2/webchat-es5.js" ></script> <script crossorigin="anonymous" integrity="sha384-QAcLvzyinyE4D/JsoYeB0W0Atv9s9bOshNt/n9SpqisN9W/yGfFcqkrHFztczYwY" src="https://github.com/microsoft/BotFramework-WebChat/releases/download/v4.19.2/webchat-minimal.js" ></script>
- Using script tags from https://github.com/microsoft/BotFramework-WebChat/releases/tag/v4.19.2, with subresource integrity
-
npx serve(at repo root) - Go to http://localhost:5000/ to test
- Run and wait for
Notification to interested parties
-
Update partner page on Adaptive Cards doc(Not updating for QFE) - Notify related parties for the following fixes
- Azure Bot Services
- Copilot Studio
- Omnichannel
Post-release checklist
These are chores that we should do before starting the cycle to reduce ripple effects if we do it in mid-cycle.
Tips:
- Clean your repo before start
- Remove
node_modulesfrom all foldergit clean -fdx
- Never delete
package-lock.json - If you mess it up, tableflip and redo
- In
component/package.json- Remove reference to
botframework-webchat-coreby hand-modifyingpackage.json - Then,
npm install(symlinks will be broken afterward) - Then, add those references back by hand-modifying
package.json - This also applies for other packages with similar dependencies/symlinks
- To build afterward, do tableflip to rebuild those symlinks
- Remove reference to
Applies to all releases
This list should be copied to versions in the future.
-
If on QFE branch, make sureCHANGELOG.mdand version number bump is cherry-picked tomain-
git checkout main -
git cherry-pick XXX(the commitish for bumping version number andCHANGELOG.md)
-
-
If needed, correct the date for 4.19.2 inCHANGELOG.mdin PR #XXXThere could be last minute fixes that could push the planned date later than the one inCHANGELOG.md
- Bump
package.jsonto4.19.3-0in PR #XXX- Run
npm version prepatch --no-git-tag-version
- Run
-
Update(CDN is currently out of service)servicingPlan.jsonin PR #XXXX- Add deprecation notes for previous versions
- Subresource integrity hash from https://github.com/microsoft/BotFramework-WebChat/releases/tag/v4.17.1
-
Update all samples to use(CDN is currently out of service)4.19.2in PR #XXXX- Some samples are pointing to GitHub Releases because the sample need new features from daily build
- Search "https://github.com/microsoft/BotFramework-WebChat/releases/download/"
- And replace with "https://cdn.botframework.com/botframework-webchat/latest/"
-
Clean up unnecessary branch on official repo -
Understand production-hitting vulnerabilities(This is QFE)-
Create a new folder -
Runnpm initwith default values -
Runnpm install [email protected] [email protected] -
Look at the result and see if there are any production-hitting vulnerabilities, investigate if needed- No vulnerabilities found
-
-
Bump in Copilot Studio(This is QFE) -
Update accessibility conformance report(This is QFE)- For any accessibility bugs resolved, remove them from external notes
- Update version number and publish date
Applies to major/minor releases
Bump all dependencies to latest version
In PR #XXXX, we are bumping most dependencies to latest version.
After bumping, if a package broke compatibility, we should investigate:
- Upgrade our code to use the latest package if possible, otherwise;
- Add it to
package.json/pinDependenciesto prevent bumping deliberately
- Pinning dependencies incur unpredictable technical debts, say, security issue found in the unsupported version, causing us slow to react
- Every time we bump, we need to go through the whole
pinDependencieslist
-
Runnpm run bump -
Runnpm audit fixto make sure everything is fixed -
List steps to verify bumpingmicrosoft-cognitiveservices-speech-sdk
Bump Docker image
The Docker image can be found at root
docker-compose.ymlandDockerfile*.
-
Docker container for headless Chrome in PR #XXXX
- Lingua principale
- HTML
- Stelle
- 1.8k
- Fork
- 1.6k
- Merge medio
- 2g 8h
- PR unite (30g)
- 6
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/BotFramework-WebChat
-
Bot Services bug customer-reported
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
microsoft/BotFramework-WebChat#5165 ·
-
A11yTest_Tracking area-accessibility Bot Services BotFrameworkWebChat_Web bug customer-reported HCL-BIC Product-Task-BotFrameworkWebChat Task Web
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
microsoft/BotFramework-WebChat#5866 ·
-
area-accessibility Bot Services bug customer-reported
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
microsoft/BotFramework-WebChat#5861 · 2 commenti ·
-
Bot Services bug customer-reported
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
microsoft/BotFramework-WebChat#5859 ·
-
A11ySev3 A11yWCAG area-accessibility Bot Services BotFrameworkWebChat_Web bug customer-reported
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
microsoft/BotFramework-WebChat#5856 ·
Tutte le issue di microsoft/BotFramework-WebChat
Issue simili
-
package-update
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Android bug feature/error-tracking react-native team/error-tracking
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
PostHog/posthog-js#5310 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Tune CI caching for cargo and pnpm to speed up the pipelineForse già presa @onakijames-droid l’ha presa oggi. Apertagood first issue Stellar Wave
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
OlaGreat/starbound-realms#99 · 1 commento ·
-
bug difficulty: easy infrastructure priority: medium sdk
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
trustflow-protocol/trustflow-sdk#507 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
I maintainer di solito rispondono entro 1 giorno