Skip to content

Remove legacy build directives#3623

Merged
knative-prow[bot] merged 1 commit intoknative:mainfrom
lkingland:push-ymuppxoyltxs
Apr 21, 2026
Merged

Remove legacy build directives#3623
knative-prow[bot] merged 1 commit intoknative:mainfrom
lkingland:push-ymuppxoyltxs

Conversation

@lkingland
Copy link
Copy Markdown
Member

The // +build syntax is only for compatibility with Go < 1.17. We now require Go 1.25.

@knative-prow knative-prow Bot requested review from dsimansk and jrangelramos April 21, 2026 10:18
@knative-prow knative-prow Bot added approved 🤖 PR has been approved by an approver from all required OWNERS files. size/M 🤖 PR changes 30-99 lines, ignoring generated files. labels Apr 21, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.31%. Comparing base (50215d6) to head (be9b289).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3623      +/-   ##
==========================================
+ Coverage   55.61%   56.31%   +0.70%     
==========================================
  Files         180      180              
  Lines       20549    20549              
==========================================
+ Hits        11429    11573     +144     
+ Misses       7960     7776     -184     
- Partials     1160     1200      +40     
Flag Coverage Δ
e2e 36.22% <ø> (+<0.01%) ⬆️
e2e go 32.86% <ø> (?)
e2e node 28.62% <ø> (ø)
e2e python 33.23% <ø> (?)
e2e quarkus 28.76% <ø> (?)
e2e rust 28.18% <ø> (?)
e2e springboot 26.65% <ø> (+0.02%) ⬆️
e2e typescript 28.73% <ø> (ø)
e2e-config-ci 18.08% <ø> (ø)
integration 17.51% <ø> (+0.05%) ⬆️
unit macos-14 43.35% <ø> (+<0.01%) ⬆️
unit macos-latest 43.35% <ø> (ø)
unit ubuntu-24.04-arm 43.55% <ø> (ø)
unit ubuntu-latest 44.22% <ø> (-0.01%) ⬇️
unit windows-latest 43.38% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The // +build syntax was retained only for compatibility with Go < 1.17.
This module targets Go 1.25, so the parallel directive adds no value and
just clutters the top of every tagged file; //go:build is the canonical
form since Go 1.17 and remains in place.

Applied to all 41 non-vendored files that carried the paired directive.
@lkingland lkingland changed the title remove legacy build directives Remove legacy build directives Apr 21, 2026
Copy link
Copy Markdown
Contributor

@gauron99 gauron99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@knative-prow knative-prow Bot added the lgtm 🤖 PR is ready to be merged. label Apr 21, 2026
@knative-prow
Copy link
Copy Markdown

knative-prow Bot commented Apr 21, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gauron99, lkingland

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow knative-prow Bot merged commit 5ea1bc5 into knative:main Apr 21, 2026
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 🤖 PR has been approved by an approver from all required OWNERS files. lgtm 🤖 PR is ready to be merged. size/M 🤖 PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants