[bug] Cloud function switching failed to obtain the latest code
- Dominant language
- TypeScript
- Stars
- 7.6k
- Forks
- 670
- PR merge metrics
- No merged PRs in 30d
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/labring/laf/issues?q=is%3Aissue) and found no similar issues.
### Environment
https://laf.dev
### What happened
1.应用共用一个开发者账号
2.函数发布后,其他开发者切换云函数没有获取最新的代码
3. 导致代码被覆盖,且无法找回,体验特别差
### How to reproduce
- 当一个开发者发布了云函数,另外一个开发者切换云函数代码不是最新的

### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the cloud-function switching flow on laf.dev with two developers sharing an account, following the publication and switching steps in the report. Trace how the latest code is obtained after one developer publishes, and confirm that switching shows the published version rather than overwriting it; done means newer code is preserved and visible to the other developer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100