ruanweihong-aaa commented on PR #14085:
URL: https://github.com/apache/apisix/pull/14085#issuecomment-6465713941

   Pushed `d8c14d8e` to extend scan reuse and address more of the 
repeated-prefix scanning cases.
   
   - Replaced the narrow plain-value whitelist with conservative checks for 
UTF-8, YAML line breaks and scalar boundaries. Unquoted addresses, URLs, text 
with spaces and Unicode text can now retain the batch classification.
   - Added batch classification for multiline placeholders and block scalars, 
distinguishing block-header comments from body content.
   - Kept invalidation and sequential fallback when a value may change YAML 
syntax or a skipped comment preserves line breaks removed by the marker.
   
   The committed `t/cli/test_standalone.sh` tests check parsed values and 
scanner counts at 32/256/1,024 entries, block references across six line-break 
forms, and compatibility cases involving preserved comments and syntax-changing 
values. The existing running-instance test also checks the changed HTTP 
response after a YAML file update and confirms that the master PID stays 
unchanged.
   
   The full standalone suite, YAML route tests (26 assertions), and 
changed-file checks passed on a Rocky Linux host using the official APISIX 
3.19.0 Ubuntu runtime and dependencies. The tested files match this commit. The 
PR description now explains the implementation and test coverage.
   
   The remaining limitation is explicit: the sequential fallback can still be 
quadratic, and scanner errors retain the conservative data classification. This 
update does not claim linear behavior for every supported template. GitHub CI 
needs to validate this new commit.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to