Skip to content

Conversation

@jdunkerley
Copy link
Member

Pull Request Description

  • Secret's as Private Key should be a Derived_Secret_Value (was used by Snowflake).
  • HideableValue only used in Enso_Secret.enso.
  • Only called by Enso just before going to Java.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.
  • If meaningful changes were made to logic or tests affecting Enso Cloud integration in the libraries,
    or the Snowflake database integration, a run of the Extra Tests has been scheduled.
    • If applicable, it is suggested to paste a link to a successful run of the Extra Tests.

HideableValue only used in Enso_Secret.enso.
Only called by Enso just before going to Java.
@jdunkerley jdunkerley added the CI: No changelog needed Do not require a changelog entry for this PR. label Sep 22, 2025
@github-actions github-actions bot added the -libs-API-change-Base Marks a PR that changes the public API of Standard.Base label Sep 22, 2025
@jdunkerley jdunkerley added CI: Ready to merge This PR is eligible for automatic merge and removed CI: Ready to merge This PR is eligible for automatic merge labels Sep 22, 2025
@jdunkerley jdunkerley added the CI: Ready to merge This PR is eligible for automatic merge label Sep 22, 2025
Copy link
Member

@JaroslavTulach JaroslavTulach left a comment

Choose a reason for hiding this comment

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

  • encapsulating all usage of HideableValue in a single Enso_Secret module is a laudable goal
  • but as_hideable_value returns the HiddenValue Java class ...
  • ...and there is still ~twenty usages of that method in distribution
  • I am afraid the goal hasn't been achieved yet

import Standard.Base.Errors.Illegal_Argument.Illegal_Argument
import Standard.Base.Metadata.Display
from Standard.Base.Enso_Cloud.Enso_Secret import as_credential_reference, as_hideable_value
from Standard.Base.Enso_Cloud.Enso_Secret import as_credential_reference
Copy link
Member

Choose a reason for hiding this comment

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

  • Can as_hideable_value be marked private?
  • That would fulfil the HideableValue only used in Enso_Secret.enso goal in the description of this PR
  • However when I do grep -r as_hideable_value distribution I still see a lot of usages of HideableValue outside of Enso_Secret

@mergify mergify bot merged commit 9584382 into develop Sep 23, 2025
129 of 147 checks passed
@mergify mergify bot deleted the wip/jd/hideable-value branch September 23, 2025 05:46
@jdunkerley jdunkerley added this to the 2025.3 Release milestone Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

-libs-API-change-Base Marks a PR that changes the public API of Standard.Base CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants