Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[Refactor][Build] Remove the end-of-support aws-sdk-go v1 from backend/go.mod

オープン
#9,196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
build-system

調査の方向性

First check #9195, which covers migrating the sole consumer in backend/plugins/kiro; this cleanup depends on that migration. Then inspect backend/go.mod and backend/.golangci.yaml, run go mod tidy, and remove the v1 dependency and temporary SA1019 exclusion. Done means backend/go.mod and backend/go.sum no longer include aws-sdk-go v1 and lint passes without the exclusion.

索引モデルが issue の本文から書いたものです。

説明

What and why to refactor

backend/go.mod still requires github.com/aws/aws-sdk-go (v1). AWS ended
support for the v1 SDK on
2025-07-31:
no more bug fixes, no more security fixes. v1.55.8 is the last release and
deprecates every package, which is how it surfaced in #9192 (lint red with
11× SA1019).

Keeping an unsupported SDK in the dependency tree means:

  • any future CVE in it will not be fixed upstream by AWS,
  • every Dependabot gomod run that touches it re-triggers the deprecation
    warnings, which currently have to be suppressed by a lint exclusion,
  • security scanners will increasingly flag it.

Describe the solution you'd like

  1. Migrate the only consumer, backend/plugins/kiro, to aws-sdk-go-v2
    (separate issue: #9195).
  2. Remove github.com/aws/aws-sdk-go from backend/go.mod / go.sum
    (go mod tidy).
  3. Remove the temporary staticcheck exclusion for SA1019 /
    plugins/kiro/ from backend/.golangci.yaml (added in #9197).
  4. Optional guard: add a depguard rule (or a simple grep in CI) that rejects
    new imports of github.com/aws/aws-sdk-go/, so v1 does not come back
    through another plugin.

@warren830 — since kiro is currently the sole user of the AWS SDK in
DevLake, looping you in here as well. If you plan further AWS-based plugins,
starting them on v2 would avoid repeating this.

Related issues

  • #9195 (code migration of the kiro plugin)
  • #9192 (Dependabot go-minor-patch group)
  • #9197 (temporary lint exclusion + CI paths fix)

Additional context

q_dev, the previous AWS-based plugin, was removed in #9079, so after the
kiro migration no code in the repository depends on v1 anymore.

主要言語
Go
スター
3.2k
フォーク
819
平均マージ
3日 2時間
マージ済み PR(30日)
42

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

apache/devlake のほかの issue

apache/devlake の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。