Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Testing changes in playground doesn't work

未关闭
#1,230 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
32/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
azure, typescript
领域
api, cloud, devops

调研方向

从 packages/mergebot/src/compute-pr-actions.ts 和 .github/workflows/deploy.yml 开始,然后检查链接的 playground-dt-review 插件及其 Playground-Info 请求。确定是否可以访问已部署的 API,或者是否应移除损坏的 Playground 消息;选定的行为无需当前失败的请求即可正常工作,即表示完成。

由索引模型根据 Issue 内容生成。

描述

When a PR to DefinitelyTyped is opened, the mergebot posts a comment You can test the changes of this PR in the Playground. When the link to playground is opened and user agrees to install the playground-dt-review plugin, the plugin makes a request to https://dtmergebot.azurewebsites.net/api/Playground-Info?number=${prNum}&code=<something>. This request fails, because dtmergebot.azurewebsites.net does not exist. There is a PR (https://github.com/orta/playground-dt-review/pull/6) to change the URL to dtmergebot2, but it also doesn't exist.

According to the configuration, up-to-date domain is dtmergebot3.azurewebsites.net, but if I modify the plugin code and change the domain, server responds with 403 Ip Forbidden.

Could you either fix the API access (and somehow get @orta to update the plugin)? The alternative is removing entirely this broken functionality and the message from mergebot:

https://github.com/microsoft/DefinitelyTyped-tools/blob/f986e045c1c30f012b6dcdf172d7512d46a908d3/packages/mergebot/src/compute-pr-actions.ts#L603-L605

主要语言
TypeScript
星标
423
派生
237
平均合并
18 小时 18 分钟
30 天内合并 PR
11

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/DefinitelyTyped-tools 的其他 Issue

查看 microsoft/DefinitelyTyped-tools 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。