Skip to content

Conversation

@jpeach
Copy link
Contributor

@jpeach jpeach commented Aug 21, 2023

Use an internal macro to make all the remap API compatibility checks consistent. For test plugins, where there's no risk of incompatibility, just assert that the API is compatible.

This fixes #10222.

@jpeach jpeach requested a review from maskit August 21, 2023 04:45
@maskit maskit added this to the 10.0.0 milestone Aug 21, 2023
@maskit
Copy link
Member

maskit commented Aug 21, 2023

I'm going to approve this when it passes CI, but it's a bit of shame that the macro is only available internally. We may want to consider providing the feature as TS API in the future.

@apache apache deleted a comment from ezelkow1 Aug 21, 2023
@apache apache deleted a comment from maskit Aug 21, 2023
@jpeach
Copy link
Contributor Author

jpeach commented Aug 22, 2023

[approve ci]

@maskit
Copy link
Member

maskit commented Aug 22, 2023

/home/jenkins/workspace/Github_Builds/rocky/src/plugins/cache_promote/cache_promote.cc:23:10: fatal error: remap_version.h: No such file or directory
/home/jenkins/workspace/Github_Builds/rocky/src/plugins/background_fetch/background_fetch.cc:37:10: fatal error: remap_version.h: No such file or directory

Use an internal macro to make all the remap API compatibility checks
consistent. For test plugins, where there's no risk of incompatibility,
just assert that the API is compatible.

This fixes apache#10222.

Signed-off-by: James Peach <jpeach@apache.org>
@jpeach jpeach force-pushed the remap-version-check branch from c228a1d to 6dd6f5e Compare August 28, 2023 03:24
@jpeach jpeach merged commit d43823b into apache:master Aug 29, 2023
@jpeach jpeach deleted the remap-version-check branch August 29, 2023 01:46
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
Use an internal macro to make all the remap API compatibility checks
consistent. For test plugins, where there's no risk of incompatibility,
just assert that the API is compatible.

This fixes apache#10222.

Signed-off-by: James Peach <jpeach@apache.org>
cmcfarlen pushed a commit to cmcfarlen/trafficserver that referenced this pull request Jun 3, 2024
* commit '01409a61bab49c81cf422cdb29a94dcd07bf3c37': (31 commits)
  cmake: add more executables (apache#10284)
  Fix a crash due to bad disks (apache#10287)
  ts_lua_transform: input_reader may be used uninitialized (apache#10297)
  CID 1508887 fix parent_select plugin stat Time of check. (apache#10260)
  Make remap API compatibility checks consistent. (apache#10253)
  remove deprecated 'NATIVE' AIO mode (apache#10269)
  Fix connect failure count (apache#10294)
  Add version range up to CMake 3.27 (apache#10259)
  untangle fds_limit global (apache#10288)
  replace net_config_poll_timeout with EThread::default_wait_interval_ms (apache#10289)
  suppress coverity false positive on race condition (apache#10278)
  initialize variable (apache#10277)
  Check the inet_pton return value for IP reputations (apache#10267)
  Fix missing virtual destructor. (apache#10293)
  tools/jtest: use @SWOC_LIBS@ (apache#10292)
  Fix m4 quoting on configure error messages. (apache#10258)
  build_h3_tools: explicitly chmod the destination directory (apache#10274)
  Fix CID 1508979: unchecked return value (apache#10281)
  Fix CID 1508970: Uninitialized scalar variable (apache#10282)
  Fix CID 1508992, 1508976, 1508972: uninitialized scalar variables (apache#10275)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CID1508993: Invalid type in argument to printf format specifier

2 participants