`Drop workshops.sign_up_url`
维护者通常 1 天内回复
已经有一个关联 PR 被合并了。
- #3027 来自 @mroderick —— 已合并
评估
调研方向
从 Workshop 模型开始,在 PR 1 中将 sign_up_url 列入 ignored_columns,并检查没有任何 workshop 的查询或 partial 仍在读取它。以已关闭的 #3007 作为两步移除的先例,然后在 PR 2 中查看 schema.rb 和 migrations 目录。完成标准是:PR 1 在忽略该列的情况下通过整个测试套件;PR 2 从 schema.rb 中删除该列,且完整测试套件保持通过。
由索引模型根据 Issue 内容生成。
描述
Problem
workshops.sign_up_url is a nullable string. Its only purpose was an external RSVP link shown in workshop partials; the last read was removed in c9391a35 (2014-09-09) when the workshop page moved to invitation-based RSVP. Nothing has read or written it since. Production snapshot (2026-10-12): 3 non-null values of 2603 rows, all set before 2014.
Proposed change
Two-step, as with #3007:
- PR 1: add
sign_up_urltoself.ignored_columnsonWorkshop, deploy, soak. - PR 2:
safety_assured { remove_column :workshops, :sign_up_url, :string }, plus regenerateschema.rb.
Acceptance
- After PR 1: workshop queries no longer name the column; suite passes.
- After PR 2: column gone from
schema.rb; full suite passes.
Labels: refactoring, trivial
- 主要语言
- Ruby
- 星标
- 106
- 派生
- 208
- 平均合并
- 19 小时 31 分钟
- 30 天内合并 PR
- 84
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codebar/planner 的其他 Issue
-
DashboardQuery eager-loads workshop_host with :sponsors in one join (same host-loss trap as #2975)未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
Dual Invitiation issue可能已有人在做 @mroderick 于 3 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 42/100
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 28/100
codebar/planner#3008 · 2 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
Windows: packaged_agent_ruby? never matches 'Puppet Labs\Puppet', so the openvox gem is not found未关闭
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 78/100
puppetlabs/puppetlabs-postgresql#1721 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
temporalio/sdk-ruby#625 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 94/100
zerocracy/judges-action#2803 ·
维护者通常 5 天内回复