Skip to content

Remove private-network project flag gate - #1254

Merged
sc-zenokerr merged 4 commits into
masterfrom
story/3115/private-network-branch-removal-pr5
Sep 21, 2026
Merged

sc-zenokerr merged 4 commits into
masterfrom
story/3115/private-network-branch-removal-pr5

Conversation

@sc-zenokerr

Copy link
Copy Markdown
Contributor

Related to [STORY-3115]

@notion-workspace

Copy link
Copy Markdown

Comment thread projects/list.go Outdated
hasPrivateNetwork = "true"
}
_ = t.Append([]string{project.Name, strconv.FormatBool(project.Default), project.ID, hasPrivateNetwork})
_ = t.Append([]string{project.Name, strconv.FormatBool(project.Default), project.ID, "true"})

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Question: Should I just remove the "Private Network" column completely?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd say yes.

@sc-zenokerr sc-zenokerr Sep 21, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed the column

@matthieu526-scalingo matthieu526-scalingo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry for the unexpected review, I was looking at open PRs before considering a release.

Comment thread projects/details.go Outdated
_ = t.Append([]string{"", ""})
_ = t.Append([]string{"Private Network", "true"})
_ = t.Append([]string{"", ""})
_ = t.Append([]string{"Private Network", "true"})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

question: is it required to keep this? If it's by default for everyone?

@sc-zenokerr sc-zenokerr Sep 21, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

After having tested locally. I added the "Private Network" label back in (without the "true") part in d8cf8ef

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

┌──────────────────────────────────┬──────────────────────────────────────────┐
│          PROJECT FIELD           │                  VALUE                   │
├──────────────────────────────────┼──────────────────────────────────────────┤
│ Name                             │ has-pn                                   │
│ ID                               │ prj-2dd8fb1b-e71e-4e94-9bba-ba93adddc408 │
│ Default                          │ false                                    │
│ Owner                            │ zeno.kerr                                │
│                                  │                                          │
│ Private Network                  │                                          │
│ - ID                             │ pn-aaf9101f-9ad0-4429-88ce-89abd0186c77  │
│ - Subnet                         │ 10.240.0.0/22                            │
│ - Gateway IP                     │ 10.240.0.1/22                            │
│ - Total number of assignable IPs │ 1021                                     │
│ - Used IPs count                 │ 3                                        │
│ - Used IPs                       │ 10.240.0.4                               │
│                                  │ 10.240.0.5                               │
│                                  │ 10.240.0.7                               │
└──────────────────────────────────┴──────────────────────────────────────────┘

Comment thread projects/list.go Outdated
hasPrivateNetwork = "true"
}
_ = t.Append([]string{project.Name, strconv.FormatBool(project.Default), project.ID, hasPrivateNetwork})
_ = t.Append([]string{project.Name, strconv.FormatBool(project.Default), project.ID, "true"})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd say yes.

@sc-zenokerr sc-zenokerr self-assigned this Sep 15, 2026
@sc-zenokerr
sc-zenokerr marked this pull request as ready for review September 21, 2026 11:00
Comment thread projects/details.go Outdated
_ = t.Append([]string{" - Used IPs count", strconv.Itoa(privateNetworkInfo.UsedIPsCount)})

if len(privateNetworkInfo.UsedIPs) == 0 {
_ = t.Append([]string{" - Used IPs", "None"})

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nitpick: is this required? It will already be written 0 the line above.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

What would you suggest?

  1. removing the word "None"
  2. removing the line altogether

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  1. Removing the line altogether. I don't see a value, as we have the raw number.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in 73e8d3c

@sc-zenokerr
sc-zenokerr merged commit 8ae4a7b into master Sep 21, 2026
7 checks passed
@sc-zenokerr
sc-zenokerr deleted the story/3115/private-network-branch-removal-pr5 branch September 21, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants