GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||
GeezerVison is showing github.com — fix topic cycle detection past 32 nodes by ben564885 · Pull Request #60 · AlmanacCode/codealmanac Conversationfixes #59.
dropping the counter is enough: the existing
two regression tests: a 34-topic chain (the smallest that outran the old cap) and a wide two-level graph, which used to pass or fail depending on
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThere was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codex ReviewHere are some automated review suggestions for this pull request. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
With the traversal cap removed here, the shipped Almanac pages now describe the opposite contract: AGENTS.md reference: AGENTS.md:L8-L15 Useful? React with 👍 / 👎.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe parent commit removed the `depth < 32` counter from `ancestors_of`, but topics-dag.md, topics-yaml.md, and maintain-topics.md still described a defensive depth cap of 32 as the reason the ancestor walk is safe. That left the wiki stating the opposite of the shipped mutation invariant. All three now say the walk is bounded by the visited topic set rather than by depth, which is what makes it terminate on an already-cyclic topics.yaml without truncating the ancestor set. topics-dag.md also records why the old counter was wrong (it counted popped nodes, not levels) so the cap does not get reintroduced.
ben564885
force-pushed
the
fix-topic-cycle-detection
branch
from
26412d4 to
49f48d5
Compare
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. This branch has not been deployedNo deployments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. topic cycle detection silently fails past 32 nodesUh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. | |||||||||||||
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |