Skip to content

feat: add OpenIn option to coder_app #15743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
Jan 3, 2025
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5483426
work on OpenIn implementation
defelmnq Dec 4, 2024
1752f40
improve open_in parameter handling
defelmnq Dec 4, 2024
0e69ff4
Update provisioner.proto
defelmnq Dec 4, 2024
bd9d40b
add open_in logic
defelmnq Dec 17, 2024
8596e92
add open_in logic
defelmnq Dec 17, 2024
9a99df5
Merge remote-tracking branch 'origin/main' into coder_app-open_in
defelmnq Dec 17, 2024
451bf3b
up generated doc
defelmnq Dec 17, 2024
6b8858e
work on ts tests
defelmnq Dec 18, 2024
90fd0e3
work on ts tests
defelmnq Dec 18, 2024
5c207ec
work on tests for tf
defelmnq Dec 18, 2024
803fe24
reset failing tests
defelmnq Dec 18, 2024
82d4f8f
Merge remote-tracking branch 'origin/main' into coder_app-open_in
defelmnq Dec 20, 2024
f97a385
bump go.mod
defelmnq Dec 20, 2024
bfdaefd
merge
defelmnq Dec 20, 2024
c6d18a6
change database type for enum
defelmnq Dec 20, 2024
b81b84d
change database type for enum
defelmnq Dec 20, 2024
05db2b7
Merge branch 'main' into coder_app-open_in
defelmnq Dec 23, 2024
9a06745
up gomod
defelmnq Dec 23, 2024
079e474
work on tests in dbmem
defelmnq Dec 23, 2024
6e368bf
work on tests
defelmnq Dec 23, 2024
1dec106
work on tests
defelmnq Dec 23, 2024
54f3a70
increase minor version of provisioner api
defelmnq Jan 3, 2025
5730ea0
Merge remote-tracking branch 'origin/main' into coder_app-open_in
defelmnq Jan 3, 2025
8f76203
improve constant and code logic
defelmnq Jan 3, 2025
4ca1aa0
increase migration idx
defelmnq Jan 3, 2025
c64973d
Merge remote-tracking branch 'origin/main' into coder_app-open_in
defelmnq Jan 3, 2025
4698162
increase migration idx
defelmnq Jan 3, 2025
2122b3b
make gen
defelmnq Jan 3, 2025
bb801f0
add version history in the provisioner version
defelmnq Jan 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update provisioner.proto
  • Loading branch information
defelmnq authored Dec 4, 2024
commit 0e69ff4e8e11b7d0652cda85647112516c4d34e3
2 changes: 1 addition & 1 deletion provisionersdk/proto/provisioner.proto
Copy link
Member

Choose a reason for hiding this comment

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

When adding a new field to this protobuf, you will need to increment provisionerd.proto.CurrentMinor.

Copy link
Member

Choose a reason for hiding this comment

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

TIL - is it documented somewhere? I believe there is no linting rule.

Copy link
Member

Choose a reason for hiding this comment

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

I'm second-guessing myself now -- we definitely need to increment minor version when adding a new RPC method.

Copy link
Member

Choose a reason for hiding this comment

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

Yep, no need to increment here. Sorry for the confusion!

Copy link
Contributor

Choose a reason for hiding this comment

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

We do need to increment the minor version:

https://www.notion.so/coderhq/API-Changes-Back-Compatibility-36e779e691e140d4a3dcb78700c6d0bf?pvs=4#21fc01f1d65847d1a2cff6a2558def76

This is a new feature, not a bug fix, so it gets a minor version increment.

Copy link
Member

Choose a reason for hiding this comment

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

Apologies for the confusion! I opened a separate PR to add some guidelines so we don't get confused about this in future: #16009

Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ message App {
bool external = 9;
int64 order = 10;
bool hidden = 11;
string open_in = 12;
string open_in = 12;
}

// Healthcheck represents configuration for checking for app readiness.
Expand Down
Loading