Skip to content

Use fix-846 and implement hyper functions for abstracting over sensitivity#10

Draft
henriman wants to merge 11 commits intosif-io-specfrom
sif-use-fix-846
Draft

Use fix-846 and implement hyper functions for abstracting over sensitivity#10
henriman wants to merge 11 commits intosif-io-specfrom
sif-use-fix-846

Conversation

@henriman
Copy link
Copy Markdown
Owner

@henriman henriman commented Aug 12, 2025

At least at the moment, the hyper functions that should be implemented in this PR/branch are IsLow interface functions (and related functions such as AssertIsLow; "interface sensitivity"), as well as functions like IsLowSlice that abstract over the sensitivity of slices ("slice sensitivity").

Due to Gobra issue #955, we can't yet use fix-846 (Gobra branch) to implement IsLow interface functions. (Many TODO comments mentioning Once Gobra issue #846 is resolved are now actually dependent on issue 955.)


Current status

  • (private/topology/underlay)
  • private/topology
  • pkg/addr
    • Slice sensitivity
      • We want to introduce a specialized IsLowSlice function for HostIPv4. However, this is not possible yet, due to Gobra issue #963. Otherwise, this is done
    • Interface sensitivity
  • private/underlay/conn
    • Slice sensitivity
      • We want to introduce IsLowIP, a specialized IsLowSlice function, for UDPAddr. However, this is not possible yet, due to Gobra issue #963. Otherwise, this is done
    • Interface sensitivity
      • UDPAddr (can't express lowness of IP, see above)
      • Conn interface (mark hyper, implement IsLow functions)
      • Otherwise done (including Config, UDPConn)
  • pkg/slayers/path/empty
  • pkg/slayers/path
  • pkg/slayers/path/onehop
    • Interface sensitivity
  • pkg/slayers/path/epic
    • Interface sensitivity

Suggestion: IsLow functions that are already accompanied by a RevealIsLow and/or AssertIsLow function could be made opaque.

@henriman henriman mentioned this pull request Aug 12, 2025
@henriman henriman mentioned this pull request Aug 13, 2025
Could implement `IsLow` for `Config` and `UDPConn`
I.e. remove some unnecessary triggers, and remove triggers in `hyper`
(cf. Gobra issue #964)
This was referenced Aug 18, 2025
@henriman henriman changed the base branch from sif-pkg-slayers-path to sif-pkg-slayers-path-epic August 18, 2025 18:31
@henriman henriman linked an issue Sep 19, 2025 that may be closed by this pull request
@henriman henriman changed the base branch from sif-pkg-slayers-path-epic to sif-pkg-slayers-path-onehop September 25, 2025 22:44
Base automatically changed from sif-pkg-slayers-path-onehop to sif-io-spec October 3, 2025 11:50
@henriman henriman mentioned this pull request Oct 8, 2025
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.

Implement IsLow functions (cf. Gobra issue 846)

1 participant